waynedunkley
5/2/2016 - 12:36 AM

Upload file to server using SCP

Upload file to server using SCP

scp -i nomad-staging.pem nomad-staging.pem ubuntu@ec2-52-63-41-249.ap-southeast-2.compute.amazonaws.com:~/.ssh/
nomad-staging.pem 

scp -i [key_file.pem] /local/dir/filename.txt username@remotehost.com:/remote/dir/