Re: Mismatched user authentication

From: Bill Unruh (unruh@physics.ubc.ca)
Date: 01/19/02


From: unruh@physics.ubc.ca (Bill Unruh)
Date: 19 Jan 2002 18:01:53 GMT

In <mfd28.2$2o3.234@news.ecrc.de> mschloh@netscape.net writes:

]Richard E. Silverman <slade@shore.net> wrote:
]>> I have my public key on the remote machine, and don't really know why I
]>> can't login without password auth.
]>
]> What exactly have you done with the key to authorize it? What are the OS
]> and SSH versions involved on both sides?

]Client#0 is SSH Secure Shell 3.0.1, on Solaris 8 Intel
]Server#1 is SSH Secure Shell 3.0.1, on FreeBSD 4.3 Intel
]Server#2 is SSH Secure Shell 3.0.1, on Solaris 8 SPARC

?? is that ssh or openssh. You say one thing above and another below.

]I created my client public key and then converted it to OpenSSH format before
]uploading it to my home directory on the servers. I have one home directory,
]because all servers are NIS and NFS mapped.

What do you mean "uploading it to my home director"? Be more specific.
ssh needs the key in a very specific place, and putting it into
/home/user/mypublickey will not do.

]When I log onto Server#1, I must use password authentication. When I log onto
]Server#2 I am able to use public key authentication. The sshd_config files are
]identical on each server as are their SSH versions. This is what is confusing
]me. Some debug data follows. Note that the first sections of each session are
]identical until one states that public key authentication is disabled (!).

Look into the /etc/ssh/sshd_config and ssh_config files. Make sure that
you use the same protocol on all (eg Protocol 2,1)



Relevant Pages

  • Re: Mismatched user authentication
    ... >>Server#1 is SSH Secure Shell 3.0.1, ... > what does OpenSSH have to do with anything here? ... and other sensitive info about my server entries. ... upgrade in order to have public key authentication. ...
    (comp.security.ssh)
  • OpenSSH and X.509 certificate
    ... SSH can do various authentication methods: Password, public key in ssh's own ... flavor and public key with X.509 certificates. ... Security's "SSH Secure Shell for Workstations" can handle ... Pricing around $100. ...
    (comp.security.ssh)
  • OpenSSH and X.509 certificate
    ... SSH can do various authentication methods: Password, public key in ssh's own ... flavor and public key with X.509 certificates. ... Security's "SSH Secure Shell for Workstations" can handle ... Pricing around $100. ...
    (comp.security.ssh)
  • Re: public key vs passwd authentication?
    ... > I have a client that's turned off public key authentication. ... > examination of the security aspect, it'd make my job a lot easier/ ... http://www.garlic.com/~lynn/aadsm15.htm#2 Is cryptography where security took the wrong branch? ...
    (comp.security.ssh)
  • Putty to Windows sshd server authentication problem
    ... I am having difficulty with public key authentication between a Putty client on one host and a SSH-Textia Windows server on another host. ... 1488:Ssh2AuthPubKeyServer: Received public key not authorized by authorization file. ...
    (SSH)