login about faq

Hi,

I am trying to set up public-key based authentication. The client is linux based OpenSSH (OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003)

I have placed the public key of the connecting client (id_rsa.pub) into .ssh2/authorized_keys It founds it because if I remove it and try to connect I get a proper error message stating pub key cannot be located.

However the login process fails due to the following:

In SSH tectia troubleshooting window:
[Apr 6 02:07:07] 2472 06/04/2015 02:07:07:727 SshUser/sshwinuser.c:3971: slash is found (i=3)

It logs also a windows event:
708 Publickey_auth_error, Username: , Algorithm: publickey, "Failed to create key list.", Session-Id: 2240*

Any ides would be appreciated.
Many thanks
Breaker

asked Apr 07 '15 at 15:54

Breaker's gravatar image

Breaker
1112

edited Apr 07 '15 at 17:19

Hi, is there also a .ssh2/authorization file under the user's profile directory? If not you try putting an entry there instead of using .ssh/authorized_keys directory? Just create a new .ssh2/authorization file which contains "Key id_rsa.pub" and copy the id_rsa.pub to the .ssh2 directory.

(Apr 10 '15 at 18:34) Roman ♦♦ Roman's gravatar image

Hi. After troubleshooting it turned out that the problem is not with the authentication at all. It just gives this warning, but the authentication is successfull indeed. This was confirmed by running tectia at debug level 7.

Thank you for the tips anyway. Cheers Breaker

(Apr 24 '15 at 00:29) Breaker Breaker's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54

Asked: Apr 07 '15 at 15:54

Seen: 5,582 times

Last updated: Apr 24 '15 at 00:29

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.