I have a problem with OpenSSH. Password Authentication works,
RSAAuthentication too (SSH 1). I want to use SSH2
(PubKeyAuthentication) - but I always get "No challenge". DEBUG3
(sshd/ssh) didn't show the reason why this isn't working. The pubkey
is in ~myuser/.ssh/authorized_keys, sshd_config says
PubKeyAuthentication yes and RSAAuthentication yes.
I generate a key pair on the client and copy the public key to
"myuser@remotehost:.ssh/authorized_keys". If I use "ssh-keygen -t
rsa1" all is fine. If I use "ssh-keygen -t rsa" (SSH2) this doesn't
work.
Any hints?
Best regards
Stefan Bertels
--
Richard Silverman
sl...@shore.net
ssh-keygen -t dsa
then copy your public key in the authorized keys file,
which could be named authorized_keys2. Make sure
public key authentication is tried first inthe config files.
By the way, it would be useful to know which os you're
running under.
HTH
Mariano
"Stefan Bertels" <po...@stefan-bertels.de> ha scritto nel messaggio
news:62eefd86.02092...@posting.google.com...
Stefan Bertels schrieb:
you have to put the pub-key in ~/.ssh/authorized_keys2 with
the rights 644.
Regards
Michael