[Mageia-discuss] password-less ssh
Juergen Harms
Juergen.Harms at unige.ch
Sat Sep 24 11:34:10 CEST 2011
Sorry, I tried to keep my message short: The only difference is the
creation of the .ssh/authorized_keys
working: cp /common/share/home/harms/.ssh/authorized_keys .
kaputt: ln -s /common/share/home/harms/.ssh/authorized_keys .
(after a cd $HOME/.ssh, with a correctly defined authorized_keys
template file, as well contents as permissions)
I checked and re-checked everything else (I know - this is a well-known
statement ... - but the thing that matters is that the contents of all
the ssh key files is identical in both cases)
ssh -v output is similar for both cases up to and including
Trying private key: /home/harms/.ssh/identity
Offering RSA public key: /home/harms/.ssh/id_rsa
with the copied authorized_keys, the next message is
Server accepts key: pkalg ssh-rsa blen 277
... ending up with a correctly established session (no password asked)
with the link, the next message is
Authentications that can continue: publickey,password,keyboard-
interactive
... than trying other methods, ending up with asking for the password
More information about the Mageia-discuss
mailing list