Sending files over SSH
Sending a file:
scp /path/to/my/file remoteuser@remotehost:/paste/here/
Sending a folder:
scp -r /path/to/my/folder remoteuser@remotehost:/paste/here/
Using EC2? No problem:
scp -i /path/to/my/key.pem -r /path/to/my/folder remoteuser@remotehost:/paste/here/
Written by Osvaldo Zonetti
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#