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: <02c101c02e41$82b97cc0$73191eac@neptune> From: "Erdely, Michael" To: References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001004140931 DOT 00aeb100 AT imap DOT coe DOT utah DOT edu> Subject: Re: Open SSHD Date: Wed, 4 Oct 2000 16:27:26 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-Mimeole: Produced By Microsoft MimeOLE V5.00.3018.1300 Along those lines, I wrote up a web page with my steps to getting it work: http://mike.erdelynet.com/sshd.htm. Hope that helps someone. -ME ----- Original Message ----- From: "Bret Jordan" To: Sent: Wednesday, October 04, 2000 4:24 PM Subject: Open SSHD > 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 > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com