Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Marty Wise" To: Subject: CygwinB20 and sshd 1.2.26 Date: Fri, 16 Jul 1999 10:54:08 -0400 Message-ID: <000a01becf9b$0ed149b0$83223981@jlab.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01BECF79.87BFA9B0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 ------=_NextPart_000_000B_01BECF79.87BFA9B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to get sshd running on NT4.0 via Cygwin for a bit now. I ran into problems with the B19/1.2.22 version for which I could find precompiled binaries. I later installed Sergey's B20/1.2.26 port, but alas, it didn't include the RSA authentication that I was interested in. I have since embarked upon an effort to compile B20/1.2.26 myself. I have everything compiled. When I attempt to start sshd on the NT system, however, I get the following error -- error: fatal: Could not load host key: /etc/ssh_host_key. Check path and permissions. This file exists. I generated it with make install originally, and have subsequently attempted regenerating it with ssh-keygen -b1024 -f /etc/ssh_host_key -N '' The file (and its companion /etc/ssh_host_key.pub) is generated as expected. According to the sshd source, the error is generated if the file is not found, or otherwise can't be opened or the passphrase is not correct. Since it was generated with no passphrase, I would have expected this to not be a problem. Also, I regenerated the keys in the same shell from which I later attempt to run sshd, so I would expect modes and permissions to be okay. Also, I do have the requisite entries in /etc/passwd, /etc/group, /etc/sshd_config, etc. I am pretty stuck at this point, has anyone encountered this, or am I overlooking something? Thanks for any help. ======================================================================= The best investments in the future can be found within our communities. ======================================================================= Regards, Marty Wise Thomas Jefferson National Accelerator Facility Computer Center -- Systems Team 12000 Jefferson Ave., Mailstop 12E Newport News, Va., 23606 Voice: (757)269-7214 Fax: (757)269-7053 e-mail: Marty DOT Wise AT jlab DOT org ------=_NextPart_000_000B_01BECF79.87BFA9B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am = trying to get=20 sshd running on NT4.0 via Cygwin for a bit now.  I ran into = problems with=20 the B19/1.2.22 version for which I could find precompiled = binaries.  I=20 later installed Sergey's B20/1.2.26 port, but alas, it didn't include = the RSA=20 authentication that I was interested in.  I have since embarked = upon an=20 effort to compile B20/1.2.26 myself.  I have everything compiled. = When I=20 attempt to start sshd on the NT system, however, I get the following = error=20 --
 
error: = fatal: Could=20 not load host key: /etc/ssh_host_key. Check path and=20 permissions.
 
This = file=20 exists.  I generated it with make install originally, and have = subsequently=20 attempted regenerating it with
  =20 ssh-keygen -b1024 -f /etc/ssh_host_key -N ''
The = file (and its=20 companion /etc/ssh_host_key.pub) is generated as = expected.
 
According to the=20 sshd source, the error is generated if the file is not found, or = otherwise can't=20 be opened or the passphrase is not correct.  Since it was generated = with no=20 passphrase, I would have expected this to not be a problem.  Also, = I=20 regenerated the keys in the same shell from which I later attempt to run = sshd,=20 so I would expect modes and permissions to be okay. Also, I do have the=20 requisite entries in /etc/passwd, /etc/group, /etc/sshd_config,=20 etc.
 
I am = pretty stuck at=20 this point, has anyone encountered this, or am I overlooking something? = Thanks=20 for any help.
 
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
The best investments in = the future can=20 be found within our communities.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Regards,
 
Marty = Wise
Thomas = Jefferson National=20 Accelerator Facility
Computer Center -- Systems = Team
12000 Jefferson = Ave.,=20 Mailstop=20 12E
Newport News, = Va.,=20 23606
 
Voice:=20 (757)269-7214
Fax:  =20 (757)269-7053
e-mail: Marty DOT Wise AT jlab DOT org
 
------=_NextPart_000_000B_01BECF79.87BFA9B0--