Allow user agent on local/client host to ssh remote server without a password.

  1. Create Authentication SSH-Keygen Keys on client: ssh-keygen -t rsa
  2. Create .ssh Directory on the remote server: ssh user@192.168.XXX.XXX mkdir -p .ssh
  3. Upload Generated Public Keys to remote server: cat ~/user/.ssh/id_rsa.pub | ssh user@192.168.XXX.XXX ‘cat >> .ssh/authorized_keys’
  4. Set Permissions on remote server: ssh surepay@192.168.XXX.XXX “chmod 700 .ssh; chmod 640 .ssh/authorized_keys”
  5. Test passwordless ssh connection: ssh user@192.168.XXX.XXX

Leave a Reply