May
23
Linux: scp – quick copy with a key file
Local file to remote server:
scp -i keyfile localfolder/localfile [email protected]:/home/usernameofkeyfile/
Remote server file to local:
scp -i keyfile [email protected]:/home/usernameofkeyfile/remotefile /localfolder/localfile