Usage of a telnet client instead of ssh or rsh

Jan-Benedict Glaw jbglaw at lug-owl.de
Sat May 13 19:33:11 GMT 2006


On Sat, 2006-05-13 20:27:03 +0200, Paul Slootman <paul at debian.org> wrote:
> On Fri 12 May 2006, Matt McCutchen wrote:
> > Wayne beat me to it.  But I was going to say, you might be able to write
> > a wrapper script that sends the rsync command and arguments down the
> > telnet connection for the shell to execute and discards any extra output
> > produced by the shell while logging in (to avoid the mystifying "is your
> > shell clean?" message).  For instance, if you know the shell on the
> 
> Don't forget also that there is actually such a thing as a telnet
> protocol, so a telnet session probably won't give you a real clean
> connection, some combination of special bytes may trigger telnet to do
> unexpected things instead of passing the data on transparently.
> 
> Is there no way of using rsh in your kerberos-ized situation?

Well, ignoring the protocol-specific extensions, I'd think of some
kind of expect(1) wrapped telnet client to do the login and
command-sending stuff...

Though that's all a crude workaround. Why don't you just use ssh,
which is nicely (via GSSAPI) kerberized?

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 für einen Freien Staat voll Freier Bürger"  | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20060513/a20c1b5d/attachment.bin


More information about the rsync mailing list