Skip to content

Instantly share code, notes, and snippets.

@andy-blum
Last active July 2, 2019 21:04
Show Gist options
  • Save andy-blum/587439bcc9950fc24d6551dd7ebba648 to your computer and use it in GitHub Desktop.
Save andy-blum/587439bcc9950fc24d6551dd7ebba648 to your computer and use it in GitHub Desktop.
Less frequent terminal commands
##
# SSH COMMANDS
##
# SSH into AWS Server
ssh -i ~/KEY_LOCATION ubuntu@IP_OR_WEBSITE
# Copy files from server
# scp SOURCE DESTINATION
scp USER@SERVER:PATH ~/Desktop
# Copy files from AWS server
# scp -i KEY_LOCATION SOURCE DESTINATION
scp -i ~/Keys/KEY ubuntu@IP_ADDRESS/WEBSITE:PATH ~/Desktop
##
# TERMINUS COMMANDS
##
# Drush command on pantheon
terminus drush account.env [command]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment