Download/Upload files on remote server

youngmahesh

Mahesh

Posted on August 12, 2022

Download/Upload files on remote server

Upload File On Server

scp -i <ssh-private-key-path> <file-local-path>  <file-remote-destination>
scp -i ~/.ssh/work            ./notes2.txt       mahesh@example.com:/home/team1
Enter fullscreen mode Exit fullscreen mode

Download File From Server

scp -i <ssh-privae-key-path> <file-on-server-path>                      <file-local-destionation>
scp -i ~/.ssh/work           mahesh@example.com:/home/team1/notes2.txt  ./
Enter fullscreen mode Exit fullscreen mode

Remote Download on Server

wget <file-url>
wget https://ipfs.io/ipfs/QmNf1UsmdGaMbpatQ6toXSkzDpizaGmC9zfunCyoz1enD5/penguin/17.png
Enter fullscreen mode Exit fullscreen mode
💖 💪 🙅 🚩
youngmahesh
Mahesh

Posted on August 12, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related