Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <391A10CB.264F8E41@loudcloud.com> Date: Wed, 10 May 2000 18:45:47 -0700 From: brandon X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Installing sshd1 on NT 4.0 server SP6a Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 AT sourceware DOT cygnus DOT com