Upload and download via SSH

  • To upload something  on the server type the following command in terminal:-
scp /home/meet/Desktop/FileName userame@ServerAddress:~/destinationfolder/
  • Example:
scp /home/meet/Desktop/j.jpg parveen@exp:~/public_html/
  • To dwnloading something from the server type the following command:-
scp username@ServerAddress:~/public_html/FileName /home/meet/Desktop/
  • Example:
scp parveen@exp:~/public_html/aa.jpg /home/meet/Desktop/
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment