delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/26/10:37:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <383EA8EC.8F63F8E9@jhuapl.edu>
Date: Fri, 26 Nov 1999 10:36:12 -0500
From: Steve Coleman <Steve DOT Coleman AT jhuapl DOT edu>
Organization: Johns Hopkins Applied Physics Laboratory
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.6 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: "Borre 'Wouse' Sanders" <borre AT chello DOT nl>
CC: cygwin AT sourceware DOT cygnus DOT com, Massimiliano Adamo <adamo AT iac DOT rm DOT cnr DOT it>
Subject: Re: Q: SSHD shell exits immediately? (was: SSHD keeps failing to open
PTY)
References: <19991125095337 DOT DVWZ10258 DOT relay01 AT workstation>

Borre 'Wouse' Sanders wrote:
> CYGWIN = `title strip_title binmode glob tty'
> debug: Command exited with status 0.

Massimiliano Adamo wrote:
> "could not load host key: \etc\ssh_host_key
>  fatal: please check that you have sufficient permissions and the file
> exists"

Make sure when using binary mode that both the /etc/passwd and
sshd_config files do not have any ^M's at the end of the lines. (Never
use notepad to edit these files, use vi or some other non-MS
application)

The file names "\etc\ssh_host_key^M" and "\etc\ssh_host_key" are
distinctly different file names and therefor the file you are asking for
may not exist. 

The same goes for the shell path in the /etc/passwd file.
"/bin/sh.exe^M" or "/bin/sh^M" is not the same as /bin/sh.exe and
/bin/sh respectively.

-- 
Steve Coleman     <Steve DOT Coleman AT jhuapl DOT edu>   http://www.jhuapl.edu/
 High Performance, fault tolerant, distributed, real-time computing 
 <<-------->> Johns Hopkins Applied Physics Laboratory <<--------->>
Balt:443-778-6330 Fax:443-778-5597 Wash:240-228-6330 Fax:240-228-5597

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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