> [ On Mon, January 18, 1999 at 15:25:39 (EST), Jeffrey Altman wrote: ]
> > Subject: Re: How do I sz/rz under an ssh connection?
> >
> > want to.  But for the rest of us who are used to typing 
> > 
> >   kermit -s <file>
> >   kermit -g <file>
> >   sz <file>
> > 
> > it is perfectly okay for us to continue doing so.
> 
> I know that kermit can work well and transparently through an existing
> SSH "login" session (though I suspect the buffering parameters might
> best be tuned carefully to attain the best throughput and to prevent
> thrashing against the windowing of SSH and TCP/IP).  I think I was
> careful not to mention kermit as one of those "silly redundant
> protocols", though to some extent the implication was there and was
> intended.
> 
> It seems that trying to use rz/sz over SSH is much harder than using
> kermit, but then that's always been the case no matter what the
> communications path!  ;-)

I don't know why either would have difficulty.  Both Zmodem and Kermit
stream.  Kermit in addition can now detect a reliable connection
and therefore automagicly sets the control character prefixing and
packet lengths appropriately.

Zmodem by default uses a window size of the entire file and always
assumes an 8-bit clean connection.  
 
> However what you've said fits right in with what I was saying about how
> people can get fixated on the old paradigms that might have been imposed
> on them by tools that they once used and not break out of their shells
> and make use of the much wider variety of tools that are available to
> them in new environments.  Using some "old-fashioned" file transfer
> protocol intended originally for use over dedicated and often unreliable
> connections (such as modems, serial cables, etc.) is one such fixation.

How so?

Kermit is not just a file transfer protocol but also a client/server
protocol and a scripting language with remote procedures.  There are
things you can do with Kermit that you could not do with 'scp'.

. Character-set translation of text files
. Auto-switching between binary/text modes based on file name patterns
. Cross platform directory tree transfers
. DELETE or MOVE file after transfer
. Transfer the output of a command/pipe

I could go on.

> That said, it would be nice if kermit could make use of SSH tunnels
> though (I looked briefly at C-Kermit 6.0(192) but couldn't see a way to
> do that...) such as in the same way one might use rdist over SSH (in
> which case kermit could automatically treat the tunnel as a plain old
> highly reliable pipe and not bother to do any protocol goop).

C-Kermit would happily use an SSH connection if only SSH did not
require that its parent process be a PTY.


    Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
                 The Kermit Project * Columbia University
              612 West 115th St #716 * New York, NY * 10025
  http://www.kermit-project.org/k95.html * [EMAIL PROTECTED]

Reply via email to