SSH with no password

How to setup SSH to not require a password when establishing an SSH connection from server A to server B for particular user?

For each user, you have to logon (su ) to the user, create keys, place them on the remote box.

Setting up SSH public/private keys

To add to what Jim posted ... One other thing I've run into with passwordless SSH access is that the $HOME/.ssh dir on the remote host MUST have 700 permissions and the $HOME/.ssh/authorized_keys file MUST have 700 permissions.

If you don't set this you will get non descriptive error messages and spend a week trying to fix them. :wall:

HTH

Using ssh-copy-id instead of putting them there manually should make it easier to get the right permissions.

Thank you all!!! I will change permissions to 700