Mail Archives: cygwin/1999/07/16/10:56:34
------=_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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D200364414-16071999>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
--</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D200364414-16071999></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D200364414-16071999>error: =
fatal: Could=20
not load host key: /etc/ssh_host_key. Check path and=20
permissions.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D200364414-16071999></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D200364414-16071999>This =
file=20
exists. I generated it with make install originally, and have =
subsequently=20
attempted regenerating it with </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D200364414-16071999> =20
ssh-keygen -b1024 -f /etc/ssh_host_key -N ''</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D200364414-16071999>The =
file (and its=20
companion /etc/ssh_host_key.pub) is generated as =
expected.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D200364414-16071999></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D200364414-16071999>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.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D200364414-16071999></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D200364414-16071999>I am =
pretty stuck at=20
this point, has anyone encountered this, or am I overlooking something? =
Thanks=20
for any help.</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"" size=3D2><FONT=20
face=3D"Courier =
New">=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</FO=
NT></FONT><FONT=20
face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New"></FONT></FONT><FONT=20
face=3D"Courier New"><FONT face=3D"" size=3D2>The best investments in =
the future can=20
be found within our communities.</FONT></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT=20
face=3D"Courier =
New">=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</FO=
NT></FONT><FONT=20
face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New">Regards,</FONT></FONT><FONT=20
face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New"></FONT></FONT><FONT=20
face=3D"Courier New"> </FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier New">Marty =
Wise</FONT></FONT><FONT=20
face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier New">Thomas =
Jefferson National=20
Accelerator Facility</FONT></FONT><FONT face=3D"Courier =
New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New"></FONT></FONT><FONT=20
face=3D"Courier New"><FONT face=3D"" size=3D2>Computer Center -- Systems =
Team</FONT></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier New">12000 Jefferson =
Ave.,=20
</FONT></FONT><FONT face=3D"Courier New"><FONT face=3D"" =
size=3D2>Mailstop=20
12E</FONT></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier New">Newport News, =
Va.,=20
23606</FONT></FONT><FONT face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New"></FONT></FONT><FONT=20
face=3D"Courier New"> </FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier New">Voice:=20
(757)269-7214</FONT></FONT><FONT face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"" size=3D2><FONT face=3D"Courier =
New">Fax: =20
(757)269-7053</FONT></FONT><FONT face=3D"Courier New"></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>e-mail: <A=20
href=3D"mailto:Marty DOT Wise AT jlab DOT org">Marty DOT Wise AT jlab DOT org</A></FONT></DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_000B_01BECF79.87BFA9B0--
- Raw text -