PubkeyAuthentication=no does not work

Brian Candler b.candler at pobox.com
Tue Dec 20 20:58:01 AEDT 2022


On 20/12/2022 09:37, Jakobus Schürz wrote:
> Since a few weeks i have the problem, when i try to login to a server, 
> the option -o PubkeyAuthentication=no does not work any more.
> ssh always tries to use a ssh-key.

Works for me (tried OpenSSH_9.1p1 and OpenSSH_8.2p1 clients):

$ ssh -o PubkeyAuthentication=no solis
brian at solis: Permission denied (publickey).

Can you show output from "ssh -vvv -o PubkeyAuthentication=no some.host" ?

Do you have any idea what might have changed on your system a few weeks 
ago?  If you look in /var/log/apt/history.log, do you see any updates to 
openssh packages around then?


More information about the openssh-unix-dev mailing list