Mailinglist Archive: opensuse (1461 mails)

< Previous Next >
Re: [opensuse] Problem getting ssh to use PublicKeyAuthentication :-(
  • From: Miguel Medalha <miguelmedalha@xxxxxxx>
  • Date: Sun, 10 May 2009 20:22:44 +0100
  • Message-id: <4A072984.8060702@xxxxxxx>
It works for me with the following entries in /etc/ssh/sshd_config:

PubkeyAuthentication yes
AuthorizedKeysFile %h/.ssh/authorized_keys

According to the OpenSSH documentation, the %h variable gets expanded to the home directory of the user that is logging in.

This works correctly with both "PasswordAuthentication yes" and "PasswordAuthentication no".

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References