![]() To copy a directory /path/to/directory on the source server to the current directory on the destination server: scp -P 22 -r -p. ![]() Īfter we enter the password for our user admin, this will copy the file /var/from the source server to the current folder on the destination server. The command we should on the destination server should be: scp -P 22. And we need to copy this file to some destination server.The SSH user name on 165.227.97.17 is admin.But when transferring already compressed files (like jpeg or mp3), this could make the transfer even slower. ![]() You can also add the option -C for compression. But system administrators often change it for security reasons. -P – port number at the source server.On the destination server, go to the directory where the file needs to be copied: cd /path/to/destination/directory And you need to copy it to a destination server.ġ. Suppose, you have a file /path/to/ on a source server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |