Re: Activity of the $HOME/.kshrc



On Thu, Mar 05, 2009 at 11:43:39AM -0700, Jialing Liang wrote:

I have ssh login to two Linux - Openssh server. They share one $Home
directory. server1 runs Redhat 3 with Openssh 3.6.1 and sever2 runs
Redhat 5 with Openssh 4.3

Check the user's shell and make sure it's actually ksh.
It is ksh:
Localhost$ ssh server1 echo $SHELL
/usr/bin/ksh
Localhost$ ssh server2 echo $SHELL
/usr/bin/ksh

In that case, look for the manuals for OpenSSH 3.6.1 and 4.3 and make
sure the features you're relying on (~/.ssh/environment) are actually
available in both versions. Also, check the server configs to make
sure PermitUserEnvironment is set to yes (the default is ``no'').