Created
April 27, 2016 08:53
-
-
Save nitincoded/40a76ff43f9122237d14003b9eb73fee to your computer and use it in GitHub Desktop.
Setting up SSHd without requiring a password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run ssh-keygen. This creates the files ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub | |
Copy this file across to the host on which you want to login. | |
Run ssh-copy-id -i <filename> user@hostname | |
The user and hostname are on the destination system - copy this off the bash prompt | |
Putty uses a different format so use PuttyKeygen to load the private key and convert it to ppk format |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment