[rancid] Re: Netscreen/OpenSSH interaction problem
john heasley
heas at shrubbery.net
Tue May 19 21:24:00 UTC 2009
Tue, May 19, 2009 at 02:23:07PM -0700, john heasley:
> Tue, May 19, 2009 at 05:12:11PM -0400, Michael W. Lucas:
> > 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 $@
> > --
>
> i'd have expected
> add sshcmd * {ssh -o...}
>
> would have done it
Sorry for the extra mail, I should have written:
add sshcmd * {ssh\ -o...}
More information about the Rancid-discuss
mailing list