[j-nsp] ssh (cli?) differences in 6.4R2.
dr at cluenet.de
Tue Nov 16 05:00:09 EST 2004
On Tue, Nov 16, 2004 at 04:39:59AM -0500, Jeff Wheeler wrote:
> On Tue, 2004-11-16 at 02:36, Igor Gashinsky wrote:
> > I ran into this exact issue as well, and according to juniper
> > that's the way it will work from this point on (previous behavior was
> > broken). To get multi-commands to work via ssh, do this:
> Note that the cli is invoked for "regular users" based on the shell
> configured in /etc/passwd. If you felt like being non-standard, you
> could simply change the user's shell back to /usr/sbin/cli.
Nope, the user's shell _is_ /usr/sbin/cli, but it doesn't get invoked
anymore with non-interactive SSH logins.
try: ssh router echo \$SHELL
You'll even get /usr/sbin/cli there.
CLUE-RIPE -- Jabber: dr at cluenet.de -- dr at IRCnet -- PGP: 0xA85C8AA0
More information about the juniper-nsp