This is the mail archive of the cygwin@sourceware.cygnus.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]

Installing sshd1 on NT 4.0 server SP6a


All,
I am trying to install sshd1 on a NT 4.0 SP6a machine and when I try and

start sshd1 I get the following error:  error: fatal: Could not load
host key: /etc/ssh_host_key.  Check path and permissions.

** I CAN run ssh1 from the command line and successfully log into a
Solaris box running ssh2 with no problem from the same machine.

I used the following directions:  Setting up sshd

     unzip ssh-port.zip into the root of your C:\ drive. This will
create the directory structure that cygwin32 needs, including having a
/bin/sh, and /etc and /tmp
     directories.
     put c:\bin;c:\bin\ssh in your path
     add the following to your environement: CYGWIN32=tty (This is
crucial!)
     from the shell, execute: mkpasswd -l > \etc\passwd
     from the shell, execute: ssh-keygen1 -f /etc/ssh_host_key
     in User Manager:
          create group "LogonUser Group" and add people you want to be
able to ssh in
          go to Policies | Account Rights menu item
          click "Show Advanced User Rights"
          give "LogonUser Group" the following rights:
               Act as part of the operating system
               Increase quotas
               Replace a process level token
     now you should just be able to run c:\bin\ssh\sshd1
     (Note: To set up sshd as a service, you may be able to use SRVANY
from the Windows NT resource kit. If you do so, make sure that sshd1 is
running
     under the correct environment (i.e., CYGWIN32 environment variable
is set to tty).)

To recap:  I have confirmed my path, when I use the set command I see
cygwin32 is set to tty.  I have also tried the latest cygwin dll.  I
always get the same error when trying to start program from the command
line and I have confirmed that Administrator can Act as OS, Increase
quotas and replace a process level token and Log in as a Service.
Any suggestions on how to get this working?

Thanks in advance,
Brandon





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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