Tag Info

Hot answers tagged

1

Make sure in your /etc/ssh/sshd_config you have the following settings: PubkeyAuthentication yes ChallengeResponseAuthentication no UsePAM yes AllowUsers YOUR_USER_NAME


1

I have no problems using Host aliases defined in .ssh/config with rsync. Perhaps you shouldn't be using the sudo, which might make SSH use root's settings.


1

similar question here permission denied for root@localhost for ssh connection answer was By default, the SSH server denies password-based login for root. In /etc/ssh/sshd_config, change: PermitRootLogin without-password to PermitRootLogin yes And restart SSH: sudo service ssh restart



Only top voted, non community-wiki answers of a minimum length are eligible