Open SSHD

Erdely, Michael mike@erdelynet.com
Wed Oct 4 13:27:00 GMT 2000


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" <jordan@coe.utah.edu>
To: <cygwin@sources.redhat.com>
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
> <NULL>.  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@coe.utah.edu
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>


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



More information about the Cygwin mailing list