Skip to content

Instantly share code, notes, and snippets.

@roschacker
Last active March 14, 2017 13:22
Show Gist options
  • Save roschacker/b8ce7488b260d4fc05336c5cb1883ad0 to your computer and use it in GitHub Desktop.
Save roschacker/b8ce7488b260d4fc05336c5cb1883ad0 to your computer and use it in GitHub Desktop.
scp from cmd (Windows conhost/Cmder/Conemu)
c:\local-copy-of-remote-host-files\etc
λ scp -i c:\__folder-where-ssh-keys-stored\AWS-your-website-name-openSSH-NEW_format-PRIVATE.key ubuntu@your.host.ip.address:/etc/nginx/sites-available/default sites-available-default
default 100% 2074 16.2KB/s 00:00
λ "C:\Program Files\Notepad++\notepad++.exe" sites-available-default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment