1

I'm trying to make SSH connection from Windows 10 (using cwrsync) to an Ubuntu server on Digital Ocean.

I configured the RSA keys both on the client side (windows) and on the server side (ubuntu), but when I run the command ssh -v root @ serverIP, the message Roaming not allowed by server appears and then asks me to log in with the password .

Looking on the internet, the staff says that it is to change the permissions of the /root/.ssh folder to 700 and the /root/.ssh/authorized_keys file to 600, but I have already done that and it has not resolved.

If I disable password login in the sshd_config file, I get the following error message when trying to connect via ssh: Permission denied (publickey).

muru
  • 207,228

1 Answers1

0

I installed the latest version of openSSH on my windows, deleted the user's .ssh folder and generated a new key, after that I was able to connect to the server using SSH without having to enter a password.