Created
October 23, 2017 11:31
-
-
Save davidjguru/3dbde241caf08ce31cfc7fa7edc08e1d to your computer and use it in GitHub Desktop.
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
# Ok, I'm getting old and write this gist only because | |
# my damaged memory. | |
sudo apt-get install sshpass | |
alias nameproject=’sshpass -p psswrd ssh root@serverdirection -p portnumber' | |
# Now, only nameproject in prompt and goes to server. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment