SSH2 PATH problem

Jean-Marc Beroud jean-marc.beroud at ubs.com
Fri Feb 16 22:40:53 EST 2001


djm at mindrot.org wrote:
> 
> On Thu, 15 Feb 2001, Tim Rice wrote:
> 
> > > > # ssh -2 host 'echo $PATH' (force SSH2 protocol, PATH env var is not
> > > > set)
> > > > <nothing>
> > > >
> > > > I can't execute a remote command with the SSH2 protocol.
> > >
> > > I can't replicate this here - can anyone else?
> >
> > I can.
> > openssh-2.3.0p1 on Solaris 8
> 
> I can't immediatly see how this can happen :(
> 
> Can you try running a "sshd -d -d -p 2222" and logging into it with
> "ssh -p 2222"? I am interested in the output from the client.

The client get this error:

select: Bad file number

BTW I use openssh on Solaris 7 (compiled with gcc 2.95.2)

Greets,

/jm





More information about the openssh-unix-dev mailing list