[rancid] Re: Netscreen/OpenSSH interaction problem
Michael W. Lucas
mwlucas at blackhelicopters.org
Tue May 19 21:12:11 UTC 2009
On Tue, May 19, 2009 at 01:01:49PM -0700, john heasley wrote:
> Tue, May 19, 2009 at 03:16:30PM -0400, Michael W. Lucas:
> > Hi,
> >
> > I've found myself inheriting responsibility for a stack of Netscreen
> > boxes, and of course I want their configurations backed up.
> >
> > There's a problem with interactions between newer versions of OpenSSH
> > and Netscreens, however. To SSH into a Netscreen with newer OpenSSH,
> > you must add the option "-o ControlMaster=auto" to the SSH command
> > line.
> >
> > Is there any way to pass this option to the Rancid SSH command for my
> > Netscreen hosts?
>
> see sshcmd in cloginrc(5). If I failed to disseminate that change to
> all of the login scripts, we can fix that.
That was exactly it, thanks!
For anyone following along in the archives: you'll want to use a
wrapper script much like the following. Trying to escape spaces with
backslashes, quote marks, etc., doesn't appear to work.
--
#!/bin/sh
exec ssh -oControlMaster=auto $@
--
>
> > Thanks,
> > ==ml
> >
> >
> > --
> > Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org
> > http://www.BlackHelicopters.org/~mwlucas/
> > Latest book: Cisco Routers for the Desperate, 2nd Edition
> > http://www.CiscoRoutersForTheDesperate.com/
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
--
Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org
http://www.BlackHelicopters.org/~mwlucas/
Latest book: Cisco Routers for the Desperate, 2nd Edition
http://www.CiscoRoutersForTheDesperate.com/
More information about the Rancid-discuss
mailing list