On Fri, 2004-02-06 at 14:47, Ross Werner wrote:
On Fri, 6 Feb 2004, Von Fugal wrote:
Another variation on the classic tar/ssh combo
ssh remote tar -czf /path/name | tar -xzf
Doesn't ssh already use compression when sending data? Or is gunzip preferable to ssh's compression?
Only if you tell it to. I think the command line switch is -c. From what I read ssh's compression is only a time saver if you are on a slow modem link. I wonder if the above really saves you any time either.
Over a slow link it sure makes interactive stuff faster (command line). It also has a dramatic effect on remote X11 sessions. Some say it's almost as good as the various X protocol compression schemes. I now always use -C when sshing from my cable connection (which is often very slow due to slow upload speeds).
Michael
Bryan
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
