[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] ssh or telnet with zmodem



On Thu, 2005-06-30 at 08:30 -0500, Evan Langlois wrote:
> On Thu, 2005-06-30 at 11:05 +0200, Thomas Binder wrote:
> 
> > bash@A> ssh -f -L 2222:localhost:2222 B ssh -L 2222:localhost:22 C 'echo Open \&\& sleep 10'
> > [Wait until you see "Open" on your terminal]
> > bash@A> scp -P 2222 localhost:myfile.tar.gz .
> > 
> > Note that you have to increase the number of backslashes when you
> > add more "hops", e.g. for A -> B -> C -> D
> > 
> > bash@A> ssh -f -L 2222:localhost:2222 B ssh -L 2222:localhost:22 C ssh -L 2222:localhost:22 'echo Open \\\&\\\& sleep 10'
> 
> In this case I think zmodem would be easier to do, and it works with
> telnet as well.
> 
> But .. thanks for the info :)

You sure about that?

With a BBS, the BBS program drops control of the serial port and the
zmodem program (xyz, gszrz, etc) picks up control of the serial port.
In my case, I ported Octopus to use the telnet protocol.  How do you get
one of these programs to pick up on a pre-existing STiNG TCP socket?
Sure it's probably possible definitely doesn't seem easier to me.

Thanks,
Mark

Attachment: signature.asc
Description: This is a digitally signed message part