On 2007-12-05 14:31:33 -0500, Chet Ramey wrote:
> No.  sshd is not the `remote shell daemon'.  The remote shell daemon
> the man page speaks of runs on port 514 and is named either `rshd'
> or `remshd'.

The sshd man page says:

     sshd (OpenSSH Daemon) is the daemon program for ssh(1).  Together these
     programs replace rlogin and rsh,
              ^^^^^^^

which can be interpreted as being the remote shell daemon. I think
that the bash man page should be clarified.

> Bash behaves exactly as documented.

It doesn't: If sshd is not regarded as the remote shell daemon, then
the bash man page implies that with "ssh <host> <cmd>", bash does *not*
run the init files. But when testing this on various machines, one can
see that bash really runs the init files.

> I don't think you looked up the acrimonious discussion that preceded
> my turning off the special handling of SSH_CLIENT and SSH2_CLIENT.  I
> won't be making that the default again.

My main complaint is that bash behaves differently when one uses
"ssh <host> <cmd>" and "ssh -t <host> <cmd>". Something needs to
be done to make these commands consistent.

BTW, where can this discussion be found? Could there be a reference
to this discussion in the CHANGES and COMPAT files?

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


Reply via email to