scp fileName userName@remoteServerIP:remoteServerFolderPath

Example :
>scp abc.txt root@XXX.XXX.XXX.XXX:/home/xyzFolder/

once you type this command, system will ask for the remote server login password.once password is verified , file get copied to remote server.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.