


Steps to be done on Client PC

Pass the ssh-keygen command

[codesyntax lang="sql"]

$ ssh-keygen -t rsa



Above command will save files ".ssh/" in current user directory

Copy the content of ~/.ssh/ over clipboard.

Steps to be done on remote PC/Server

  1. Make .ssh directory (If not exist) in home directory of user. eg. "/root/.ssh" or "/home/someuser/.ssh"
  2. Create or append the file "authorized_keys" under ".ssh" directory with content on clipboard(copy content of ~/.ssh/ on client PC)
  3. Save the file.


That's it!!

Now login from client pc to remote pc, you won't be asked password(or in case you given password in ssh-keygen, use that password)



You can create shortcut/launcher on your desktop on LINUX machine as [codesyntax lang="text"]