Re: Public key auth problems

From: colors (spam@nospam.org)
Date: 03/22/02


From: colors <spam@nospam.org>
Date: Fri, 22 Mar 2002 04:36:31 GMT

On 3/21/02 3:19 PM, in article m1lbsdhbrmd.fsf@syrinx.oankali.net, "Richard
E. Silverman" <slade@shore.net> wrote:

>
> Well, the trace shows that it is trying publickey authentication, and the
> server is rejecting it. Check the sshd syslog messages on the server
> side, and/or try the connection with the server in debug mode (sshd -d) to
> find out why.
Thanks.

I did notice the

debug1: PEM_read_PrivateKey failed

line, but since I get the same message when successfully connecting to the
other server, I somewhat disregarded it. Upon doing a little more digging
(in debug mode, as you suggested) I found that if I do public key and
provide the correct passphrase, the server rejects me immediately - however,
if I intentionally provide the incorrect passphrase, I get re-prompted to
enter it again.. That struck me as being somewhat weird - but being new to
this, what do I know..



Relevant Pages

  • Re: ssh: problem with publickey authentication
    ... > I have trouble getting ssh with publickey authentication to work. ... The server I ... > 1) my user account exists on the machine(due to public_html page can be ... Group and other should not have write access to your home directory, ...
    (SSH)
  • Re: Problems with ssh-keygen
    ... group or world-writeable then publickey authentication gets disabled. ... > as some of you suggested I used ssh-keygen to automate my sftp connection ... > but the server side still asking me for a password even if a transfered my ... > I will give you the steps I did for the ssh-keygen installation. ...
    (SSH)
  • Re: SSH with auto password??
    ... >> ssh allows publickey authentication as well as password authentication. ... > Since I am not allowed to add/change files on the server that I log into I ... Ein Kompromiß, das ist die Kunst, einen Kuchen so zu teilen, daß jeder ...
    (alt.os.linux)
  • Re: Public key auth problems
    ... Well, the trace shows that it is trying publickey authentication, and the ... server is rejecting it. ... Check the sshd syslog messages on the server ...
    (comp.security.ssh)
  • Re: beginner cant get public key auth.
    ... > Check that you put the public key on the server, not the private one. ... > Check the sshd syslog messages on the server. ...
    (comp.security.ssh)