Tianhe Gao

scp - OpenSSH secure file copy

https://www.techrepublic.com/article/how-to-use-secure-copy-with-ssh-key-authentication/

1    # copy local file to server
2    scp -i ~/.ssh/id_rsa.pub FILENAME USER@SERVER:/home/USER/FILENAME
3    # copy file from server
4    scp -i ~/.ssh/id_rsa.pub USER@SERVER:/home/USER/FILENAME /home/USER/FILENAME

No notes link to this note

Welcome to tell me your thoughts via "email"
UP