Skip to content

Instantly share code, notes, and snippets.

@himynameisjonas
Created February 5, 2010 08:55
Show Gist options
  • Save himynameisjonas/295654 to your computer and use it in GitHub Desktop.
Save himynameisjonas/295654 to your computer and use it in GitHub Desktop.
add ssh host shortcuts
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