SSH Without Password

December 21, 2011

It's possible to use SSH without being prompted for a password. This is useful for automated backup scripts, etc.

Create Key

First create a key

$ ssh-keygen

Copy Key to Remote Server

Next, copy the key to the remote server

$ ssh-copy-id remote@server.co.uk

This will prompt for the remote user password for the last time.

You should now be able to login to the remote server without requiring password entry.

References

Tags: ssh