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)



---

Comments

Popular posts from this blog

Fedora 19 with kernel 3.10 fail to install vmplayer module.

Boot Acronis from PXE

Microsoft Azure Backup encountered and internal error. (ID: 130001)