The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-11-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,764
We want to know if there are VPN tunnels or any other constriction points between the host you send from and the host that reveives.

Otherwise - compress the file first, then send it, decompress on the other side.
Code:
gzip -9 bigfile
sftp myname@remotenode << EOF
put bigfile.gz
exit
ssh myname@remotenode "gunzip bigfile.gz"