Open ct-ln opened 1 month ago
Hi there, can you help provide the debug info on the server side?
$ sudo `which sshd` -p 888 -ddd
Thanks for the quick reply. Interesting: Unrecognized authentication method "password"
Did you uncomment the line
PasswordAuthentication yes
in your /etc/ssh/sshd_config? If not, uncomment it and restart the sshd service and try again.
BRs
Yes, if I do that, ssh-rs can login.
But (just to make sure), that does not mean that you cannot not log in by password. (I guess technically the mode is "keyboard-interactive"/"ChallengeResponse")
In FreeBSD´s default setting (where ssh-rs fails), this python code can login just fine:
client = paramiko.client.SSHClient()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect(host, username="root", password="root")
So can ssh tools like filezilla, and obviously commandline ssh, etc.
I try to use ssh-rs to authenticate to a freebsd 11 vm (same problem against freebsd 13 btw). BSD VM is freshly installed. Only change: root login allowed. Source VM is Ubuntu 22. Username and password work from the same VM with commandline ssh.
Program:
Logs on the BSD box:
logging enabled on ssh-rs: