File transfer via SSH

Last update on October 30, 2008 07:28 AM by netty5
Published by netty5

SSH - Secure SHell





SSH allows the use of pipelines controls, and use inputs / outputs pipes as any other commands , on the basis that redirection is done to or from the remote machine.

This may be used to transfer files:

ssh server "cat remote_file" > local_file


The fact that the scp command does exactly the same thing, the usefulness of such a command is questionable,
but imagine that you need to transfer a file of several mega, using a fairly limited bandwidth:

ssh server "gzip -c remote_file" > local_file.gz


Here, the server compress the file, the command used will write the compressed file on the client machine.

It can go even further if you do not want to retrieve a gzipped file, but still want to lower bandwidth usage:
ssh server "gzip -c remote_file " |gunzip > local_file
Best answers for « File transfer via SSH » in :
FTP protocol (File Transfer Protocol) Show Introduction to FTP protocol FTP protocol (File Transfer Protocol) is, as its name indicates a protocol for transferring files. The implementation of FTP dates from 1971 when a file transfer system (described in RFC141) between MIT machines...
Download Medieval Bluetooth OBEX File Transfer Show Medieval Bluetooth OBEX File Transfer is an administrator for file transfer between your PC and your telephone, PDA, Palm or Notebook and through your Bluetooth connection.The management of files is done by drag and drop operations and you can view...
Scan files transferred in WLM with Avast Show Scan files transferred in WLM with Avast Windows Live Messenger allows you to transfer and receive files easily to your contacts. But how would you determine that the file you are about to download is safe and does not contain a virus? To...
Log in remotely with SSH (Linux) ShowLog in remotely with SSH (Linux) The commands below are relevant only if you have an existing account on the PC you want to connect and that a SSH server is installed. When using Linux the syntax is quite simple as the client part is...
Uploading Large Files ShowUploading Large Files You have surely encountered various difficulties for sending files through e-mail due file limitation. You have found the elucidation to your trouble. There are several means to transfer files and data from one...
Log in remotely with SSH (Windows) ShowLog in remotely with SSH (Windows) Unlike Linux, the SSH client isn’t endemic to Windows OS. First of all you must have one installed. Solutions: Click on the following link: http://en.kioskea.net/telecharger/logiciel 36 telnet...
Download SSH Secure Shell ShowSSH secure shell for workstations is a flexible client SSH allowing to connect in a secured way to remote applications. http://www.commentcamarche.net/faq/images/NHc6wz5jOYBhPXTis.png
Download Web File Transfer ShowAs its name suggests, Web File transfer is utility for file transfer. This web based program simplifies the process of sending and receiving files over the internet. It allows you: - to download several files with the suitable manager, - to...
Download Web File Transfer ShowAs its name suggests, Web File transfer is utility for file transfer. This web based program simplifies the process of sending and receiving files over the internet. It allows you: - to download several files with the suitable manager, - to...
Using FTP commands ShowThe FTP protocol FTP (File Transfer Protocol) is a protocol — meaning a standard language that lets two machines communicate — used so that computers of different types (or with different operating systems) can transfer files over a...
FTP commands ShowThe FTP protocol FTP (File Transfer Protocol) is a protocol — meaning a standard language that lets two machines communicate — used so that computers of different types (or with different operating systems) can transfer files over a...