scp local to remote
scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory
scp local to remote
scp -i <private_key> ./file.txt remote_username@remote_ip:/remote/directory
how to scp from remote machine to local machine
scp [email protected]:/path/to/file /path/to/store/file
scp [email protected]:/root/test.tar /home/tom/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us