Home » Questions » Computers [ Ask a new question ]

How to set up ssh so I don't need to input the password each time? [duplicate]

How to set up ssh so I don't need to input the password each time? [duplicate]

Anyone knows about this?

Asked by: Guest | Views: 98
Total answers/comments: 1
Guest [Entry]

"After you use ssh-keygen to generate the key see if you have the command ssh-copy-id which you use like this

$ ssh-keygen -t dsa
$ ssh-copy-id -i ~/.ssh/id_dsa.pub remotehost

If you don't have ssh-copy-id you'll have to log into the remotehost and add the contents of your local ~/.ssh/id_dsa.pub to remotehost's ~/.ssh/authorized_keys"