On Tue, May 08, 2012 at 10:06:15PM -0400, Martin Gagnon wrote:
> On Wed, May 09, 2012 at 12:09:36AM +0200, Lluís Batlle i Rossell wrote:
> > On Tue, May 08, 2012 at 05:55:38PM -0400, Leo Razoumov wrote:
> > >            9.   Runs user's shell or command.
> > But I don't know why the sshd man page does not say that though. :)
> 
> This is for bash... But for ksh (default on OpenBSD and QNX for
> instance) any echo on .kshrc or on .profile will *not* appear when
> doing: "ssh host command" neither with "ssh -T host command".
> 
> There's a chance that sshd manpage expect ksh behavior since openssh is
> developped by OpenBSD crowd and their system use ksh by default..

Ah very interesting.
And can you run: ssh host "cat < ~/.kshrc"
?

If so, it would mean the command is run by ksh, and not by sshd.

Regards,
Lluís.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to