simple-ssh icon indicating copy to clipboard operation
simple-ssh copied to clipboard

Issues with centos stream9, ubuntu 22.04 and fedora 36

Open giuseppeveneziano opened this issue 2 years ago • 4 comments

I've been using this npm for a while and it works really great with most OS.

The only 3 OS that gives me "Error: All configured authentication methods failed" are centos stream9, ubuntu 22.04 and fedora 36 (installed automatically on hetzner servers with their automatically generated ssh-rsa key, you can easily reproduce it, it costs really some penny if you create and delete after have tried it)

I can connect with CLI, but not via the npm... Any idea?

giuseppeveneziano avatar Sep 12 '22 12:09 giuseppeveneziano

I think it's something with openssh 8.8 but can't get to a solution....

giuseppeveneziano avatar Sep 15 '22 07:09 giuseppeveneziano

No clues?

giuseppeveneziano avatar Sep 30 '22 05:09 giuseppeveneziano

@giuseppeveneziano same issue here. Have you been able to solve this eventually?

0xgeert avatar Feb 22 '23 22:02 0xgeert

@0xgeert it's PermitRootLogin fault in /etc/ssh/sshd_config that for some stupid reason in these os have # in front so it's not enabled, just remove the # and it will work

giuseppeveneziano avatar Feb 23 '23 08:02 giuseppeveneziano