Created
May 15, 2012 18:58
-
-
Save skarllot/2704201 to your computer and use it in GitHub Desktop.
Local SSH config examples
This file contains 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
# ~/.ssh/config | |
# git clone server01:repo_name | |
Host server01 | |
User git | |
Hostname 192.168.0.1 | |
Port 2222 | |
PreferredAuthentications publickey | |
IdentityFile /media/flash8gb/ssh/id_rsa | |
# ssh server02 | |
Host server02 | |
User root | |
Hostname 192.168.0.2 | |
PreferredAuthentications publickey | |
IdentityFile /media/flash8gb/ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment