I’ve set up a new vm with hrev59570 and the sshd doesn’t seem to want to allow me to connect. I’ve set my passwd, configured sshd_config to have PermitRootLogin yes and PasswordAuthentication yes and rebooted. I can ping the vm ok… but then I get:
I did not end up getting passwords to work. Even with extra server side logging. But I switched to the usual key based authentication and THAT works. I had to ssh back to my host machine, grab the .ssh key files and put them in the right location. Then I could log in via ssh.
I checked that sshd user was added just in case. (from an older guide: useradd sshd)
But to no avail…
ssh -vv root@192…
output
debug1: next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug1: Authentication that can continue: publickey,password,keyboard-interactive Permission
debug2: we did not send a packet, disable method
debug1: next authentication method: password
root@192… password:
debug2: we sent a password packet, wait for reply
debug1: Authentication that can continue: publickey,password,keyboard-interactive
Permission denied, please try again
Is password authentication for root depreciated? should I use a public key?