Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidjguru/3dbde241caf08ce31cfc7fa7edc08e1d to your computer and use it in GitHub Desktop.
Save davidjguru/3dbde241caf08ce31cfc7fa7edc08e1d to your computer and use it in GitHub Desktop.
# 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