Created
February 5, 2010 08:55
-
-
Save himynameisjonas/295654 to your computer and use it in GitHub Desktop.
add ssh host shortcuts
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
Another tip here is editing the ssh config file. | |
On your machine (not the iphone), create ~/.ssh/config | |
In there, add the following lines | |
Host iphone | |
HostName 10.0.1.1 | |
User root | |
Now, simply typing ’ssh iphone’ will connect to 10.0.1.1 with user root. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment