Created
August 21, 2014 11:55
-
-
Save nicon-dev/239f1029f0b2b1fd026b to your computer and use it in GitHub Desktop.
create SSH alias
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
nano ~/.bash_profile | |
alias servername='ssh -p 888 user@server.domain.com' | |
#Now you only have to type ‘servername’ and off you go. | |
#source: http://osxdaily.com/2011/04/11/use-aliases-to-create-ssh-shortcuts/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment