Re: Logon script with SSH - Solaris 8

From: Neil W Rickert (rickert+nn_at_cs.niu.edu)
Date: 05/24/05


Date: Tue, 24 May 2005 14:35:18 +0000 (UTC)


"ns" <ns@none.ns> writes:

>Am asking about "ssh <hostname>"

>Login shell is ignored !

I don't know what you are doing wrong here.

".login" is run by csh for me when I login. I'm using solaris 8, and
openssn-4.0p1.

I just retested to be sure. I tested by adding an "echo" line to
"/etc/.login", and then doing an ssh login. The output from that
"echo" line showed up on the screen.

As others have said, ssh is not really the issue. It is the shell
that runs the commands in "/etc/.login" or "/etc/profile".



Relevant Pages