Hi,
I’m trying to setup SSH keys from between my servers, to manage rsync server backups to my backup server. I was trying to get it going with ssh-copy-id, but it keeps moaning about the password being wrong. So I’m not just trying it with normal SSH:
ssh -p 22122 "[email protected]"
[email protected]'s password:
Permission denied, please try again.
[email protected]'s password:
It connects (so can’t be a firewall issue), but ends up rejecting the password (even though its correct)
In /etc/ssh/sshd_config I have:
Port 22122
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_ecdsa_key
#HostKey /etc/ssh/ssh_host_ed25519_key
# Ciphers and keying
#RekeyLimit default none
# Logging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 1m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
What am I missing?
Thanks in advance
Andy