0
Q:

how to copy a file to a remote server using the command line

scp file.txt remote_username@10.10.0.2:/remote/directory
1
scp -i <KEY CERTIFICATE | .ppk or .pem file> <source URL of local server or remote server> <destination URL of local server or remote server>
2

New to Communities?

Join the community