A few words of thanks would be greatly appreciated.

Shell - Transfer files via SSH

Shell - Transfer files via SSH


SSH allows the transfer of files from and to remote machines.
  • This command can be used to transfer files:

SSH server "cat remote_file" > local_file
  • This command is useful for transferring large files over a fairly limited bandwidth:

ssh server "gzip -c remote_file" > local_file.gz
  • Here, the server compresses the file, the command will write the compressed file on the client machine.
  • It can also help to lower bandwidth usage when downloading compressed files:

ssh server "gzip -c remote_file " |gunzip > local_file



  • Most Unix/Linux versions are supplied an SSH client SSH server.

Under Windows

  • Putty
  • Free graphical scp/sftp client :
  • WinSCP
  • FileZilla

For Windows 2000/XP:
For Windows 95/98/ME/2000/XP:


Please note that, installing an SSH server on Windows 95/98/ME may lead to several security issues!

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.


This document, titled « Shell - Transfer files via SSH », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).