Re: using tar on localhost

From: Hrvoje Spoljar (fcbyr_at_k.cos.ue)
Date: 06/27/05


Date: Sun, 26 Jun 2005 23:10:52 +0000 (UTC)

Payal <payalrathod@gmail.com> pise na comp.security.ssh:
> Hello,
> I have a shell account on a remote server with a quota of 25Mb. I have
> used 23Mb till now. Now I want to tar.gz it and get it on my machine.
> But I cannot do so because quota will be exceeded.
> Can I tar the remote files and instead of storing them on remote
> machine make the archive on local machine, using ssh?

isn't there a tmp dir ? and AFAIK it does not count in quota

and then again there is nice program (nothing to do with ssh)
netcat... or cryptcat (if you want to encrypt data when transfering)

and stuff like this
$nc -l -p someport > archive.tgz
on localmachine
and this on remote machine...
$tar czvf - *.c | nc -w1 host.to.copy someport
would transfer data ...

if using cryptcat aditional -k argument on both sides with some key
after -k will be needed for a crypted session.

you can complicate this a little more to involve ssh and portforward a
port through which you would transfer data:-)

i know this isn't the best or the simplest way but it's a way ;-)

-- 
 ____ __  ___| |  ___   Ignorance is    .~.    hrvoje.spoljar@><.pbf.hr
(_-< '_ \/ _ \ |_/ -_)  bliss, but     / V \   irc # RoCkY 
/__/ .__/\___/__/\___|  knowledge is  /(   )\  icq : 53000945   
   |_|                  power!          ^-^    http://spole.pbf.hr


Relevant Pages