This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh/telnet


Andrew Markebo wrote:

| Last login: Fri Aug 23 12:02:56 2002 from 206.184.204.2
| Starbase:who am i
| STARBASE!Andrew tty1 Dec 6 15:47
| Starbase:who
| Andrew tty1 Dec 6 15:47
| Still get Fri Aug 23 for last login.

Hmm what command does your ssh-deamon fire up on the 'remote' machine,
Ah, I'm running Cygwin's sshd as a service.

either you have to tell your shell that it should act as "login", or
maybe you even have given it the silent switch..
The parameters passed are: /usr/sbin/sshd -D and CYGWIN is set to ntsec in the environment.

Which shell do you run, and so on?
I run bash. The shell runs OK. Note that this last login thing happens before bash is started:

$ ssh andrew@defaria.com
andrew@defaria.com's password:
Last login: Fri Aug 23 12:02:56 2002 from 206.184.204.2
Starting /etc/profile...
Ending /etc/profile...

Could it be something like ash in /etc/passwd is used..
Not for my account!




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]