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 sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.2.7.0.20001004140931.00aeb100@imap.coe.utah.edu> X-Sender: jordan AT imap DOT coe DOT utah DOT edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 04 Oct 2000 14:24:15 -0600 To: cygwin AT sources DOT redhat DOT com From: Bret Jordan Subject: Open SSHD Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed First off in answer to someone's question yesterday here is how I have gotten opensshd to work on NT, note I am still having problems with one aspect of it but I will explain that later on. Here is my step by step copied sshd.exe to c:\local\sbin\sshd\sshd.exe copied ssh-keygen.exe to c:\local\sbin\sshd\ssh-keygen.exe give current user "Act as OS and the other special rights" run c:\local\sbin\sshd\ssh-keygen -d -b 1024 -f c:\etc\sshd_host_dsa_key NOTE: I was unalble to get it to work with a passphrase other than . I will keep working on this, or maybe someone knows how to make this part work. Then I put my config file at c:\etc\sshd.conf And passwd file at c:\etc\passwd Then run c:\local\sbin\sshd\sshd -d -f \etc\sshd.conf and it works. All I have in my config file right now is the following (I am still working over some problems): Port 22 ListenAddress x.x.x.x HostDSAKey /etc/sshd_host_dsa_key KeepAlive no The passwd file looks like someusername::1:10:User Name:/home/someusername:/winnt/system32/cmd.exe NOTE: You can use base.exe in place of cmd.exe example: someusername::1:10:User Name:/home/someusername:/bin/bash.exe NOTE: You will need to modify some aspects when you want to run it as a service. Does this help? Problem: --------------- I can make a connection to a nt box running opensshd. I can run most all dos/nt commands. I can even run most all of the bin utils. The problem come around when I try to run a program that is a command character program (edit, vi, emacs -nw, pmon, etc). When I try to run these programs it just causes the connection to hang. When you run vi it causes the connection to lock up and on the box running sshd the window in which sshd was started now looks like the VI window. However, it is frozen as well and will not allow any input. You have to kill the vi process which then kills the ssh connection. Question: Can you, and if so, how do you run command character programs through the ssh connection? Is there some sort of ENV variable I need to set? Thanks Bret ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bret Jordan Dean's Office LAN Manager College of Engineering 801.585.3765 University of Utah jordan AT coe DOT utah DOT edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com