Last active
August 29, 2015 13:57
Revisions
-
pete911 revised this gist
Mar 12, 2014 . 2 changed files with 14 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +0,0 @@ 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ mkdir ~/.ssh chmod 700 ~/.ssh ssh-keygen -t rsa -b 4096 -f ~/.ssh/<key_name> ssh-copy-id -i ~/.ssh/<key_name>.pub <username>@<host> # add following entry to ~/.ssh/config file Host <host|alias> HostName <host|ip> User <username> IdentityFile ~/.ssh/<keyname> ssh <host|alias> -
pete911 created this gist
Mar 12, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ ssh-keygen -t rsa -f ~/.ssh/<key_name>