Mailing List Archive

breaking juniper ssh session
i suspect that rancid is being rude, well different, in some way
when it terminates a juniper ssh session

Oct 22 18:25:03 psg1 sshd[4921]: Connection closed by 147.28.0.39
Oct 22 18:25:03 psg1 inetd[577]: /usr/sbin/sshd[4921]: exit status 0xff00

anyone have a clue?

randy
breaking juniper ssh session [ In reply to ]
On Tue, Oct 22, 2002 at 11:42:21AM -0700, Randy Bush wrote:
> i suspect that rancid is being rude, well different, in some way
> when it terminates a juniper ssh session

Its just more verbose than others. Newer version of junos are less
noisy.
--asp
breaking juniper ssh session [ In reply to ]
>> i suspect that rancid is being rude, well different, in some way
>> when it terminates a juniper ssh session
> Its just more verbose than others. Newer version of junos are less
> noisy.

it is a rather new version of junos, and it does not make such
noises when i manually ssh in and quit out.

randy
breaking juniper ssh session [ In reply to ]
On Tue, 22 Oct 2002, Randy Bush wrote:

> >> i suspect that rancid is being rude, well different, in some way
> >> when it terminates a juniper ssh session
> > Its just more verbose than others. Newer version of junos are less
> > noisy.
>
> it is a rather new version of junos, and it does not make such
> noises when i manually ssh in and quit out.

I wonder what would happen if you just add the appropriate quit command to
the end of @commands in jrancid?

----------------------------------------------------------------------
Jon Lewis *jlewis at lewis.org*| I route
System Administrator | therefore you are
Atlantic Net |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________
breaking juniper ssh session [ In reply to ]
Tue, Oct 22, 2002 at 06:59:22PM -0400, jlewis at lewis.org:
> On Tue, 22 Oct 2002, Randy Bush wrote:
>
> > >> i suspect that rancid is being rude, well different, in some way
> > >> when it terminates a juniper ssh session
> > > Its just more verbose than others. Newer version of junos are less
> > > noisy.
> >
> > it is a rather new version of junos, and it does not make such
> > noises when i manually ssh in and quit out.
>
> I wonder what would happen if you just add the appropriate quit command to
> the end of @commands in jrancid?
>

jlogin (-c blah) does this for you. even waits for EOF. this problem
has been there for ages and last i recall asking juniper about it, they
recognized it as a bug.