I added the SSH new port number to the sshd_config
file:
Port 50000
After that, I restarted the service with
systemctl restart sshd
When I try to connect with the port number I added, I need to connect with the key, but I get this error:
Server refused public-key signature despite accepting key
... and it asks for the password.
I also have to try to connect as something other than root.
The things I've tried are
Updating putty and pageant.
Changing the permissions on in the
~/.ssh
directory andauthorized_key
file to700
/600
.
How do I fix this?
ssh -vv
(you'll need to port your keys to work in ssh rather than putty) and the logs on the server.