DEV Community

Mahesh
Mahesh

Posted on

2 1

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

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay