How to download a file from a remote Linux server via SCP in Windows using Cmder

If you’re working on Windows and you need to grab a file from a remote Linux server over SSH, make sure you use Cmder.

Once you have Cmder extracted, you can use the Linux command line SCP directly from Windows:

scp -i %CMDER_ROOT%\config\.ssh\id_ed25519 %USERPROFILE%\Downloads

You can use this shortcut if you’ve already setup your SSH agent.

scp %USERPROFILE%\Downloads

There is unexplained nuance in the setup and config of your SSH keys, in Cmder, that I haven’t gone into here – maybe later if I get time…

For later explanation, but relevant


Leave a Reply