delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/09/23:23:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: ssh/telnet
Date: Mon, 09 Dec 2002 20:21:17 -0800
Lines: 34
Message-ID: <3DF56BBD.5090106@Salira.com>
References: <000b01c29ca0$59749c30$abf9a8c0 AT xypoint DOT com> <3DF112B1 DOT 9090302 AT Salira DOT com> <015d01c29d7d$2685a200$0a00a8c0 AT xypoint DOT com> <3DF140A9 DOT 20704 AT Salira DOT com> <m33cp9zzl1 DOT fsf AT flognat DOT myip DOT org>
NNTP-Posting-Host: 206.184.204.2
Mime-Version: 1.0
X-Trace: main.gmane.org 1039494169 16882 206.184.204.2 (10 Dec 2002 04:22:49 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Tue, 10 Dec 2002 04:22:49 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en, ru, zh

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 AT defaria DOT com
andrew AT defaria DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019