Posts

Showing posts from May, 2014

2 Steps to Perform SSH Login Without Password Using ssh-keygen & ssh-copy-id

Step 1: Create public and private keys using ssh-key-gen on local-host #ssh-key-gen (Press enter three times) Step 2: Copy the public key to remote-host using ssh-copy-id #ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host (Replace remote-host with ip address or server name) ---