18.10 install. I'm asking about sshd_config
(in /etc/ssh/
)
How do I permit/authenticate sshd keys?
When I log in from another Ubuntu instance, password works fine. ssh-copy-id should have set up the keys in the proper files (verified permission on directory, key file, authorizedhosts file entries match) Attempts to ssh in still demanded password. No reference in auth.log to authentication attempt.
I uncommented/permitted one of the host keys in the existing sshd_config
I added the AuthenticationMethods publickey, password
line.
(authenticationmethods did not previously exist in the file, or was commented out)
A subsequent attempt to connect was completely blocked.
When I examined the auth.log
(debug1 level), I did not see any reference to a key validation had been made.
What do I need to configure in sshd_config
in order that ssh key are usable?
What am i missing?
(I had expected that this would work out of the box)