Important scp commands
To copy local file to remote system
scp -i XXX.pem /local/path/localFile {user}@{remote-ip}:/remote/path
To copy remote file to local system
scp -i XXX.pem -r {user}@{remote-ip}:/remote/path/remoteFile /local/path
To copy local file to remote system
scp -i XXX.pem /local/path/localFile {user}@{remote-ip}:/remote/path
To copy remote file to local system
scp -i XXX.pem -r {user}@{remote-ip}:/remote/path/remoteFile /local/path
Very nice
ReplyDelete