Mailing List Archive

PubkeyAuthentication=no does not work
Hi!

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.


My collegue also reported this phenomenon.

I have openssh-client  in version 1:8.4p1-5+deb11u1 installed on my debian.


Do you know about the problem? What do you need further informations?


Jakob

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Re: PubkeyAuthentication=no does not work [ In reply to ]
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@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?
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
Re: PubkeyAuthentication=no does not work [ In reply to ]
Hi,

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.
..
> I have openssh-client  in version 1:8.4p1-5+deb11u1 installed on my debian.

I can not reproduce this with current upstream source code, commit b0b5822.

Distributions unfortunately introduce changes on a regular basis,
although that debian package seems to be from July I still suspect
that this is a distribution-specific issue.

Try one or more of:

* reproducing on debian unstable
* reproducing on other distributions
* report a bug for the openssh-client 1:8.4p1-5+deb11u1 debian package


Thanks

//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev