>I left out one step. I forgot to mention editing user rights. Here is the >corrected install: > >I have had a number of problems getting ssh/sshd to work and I have posted >the problems in this mail list. I have everything working now, (except that >I havn't installed sshd as a service). The steps where: > >1) I deleted my cygwin directory, and removed cygwin from the destop. >2) I reinstalled from the internet http://sources.redhat.com/cygwin/ >3) I had to create the home and user names by hand >mkdir /home >mkdir /home/Administrator >4) I opened the file /usr/doc/Cygwin/openssh-2.9p1.README in emacs >5) following the instructions I ran: > /usr/bin/ssh-host-config -d > /usr/bin/ssh-user-config -d > >I included the -d option becuase initially the files did not run correctly. >I had to go back and create the home directory before I could get them to >run correctly. > >5a) Edit the user rights: > >The following commands brought up the user right management screen: > >Start, ProgramTools, UserManager >Policy, UserRights > >I then added: > "Act as part of the operating system" > "Replace process level token" > "Increase quotas" > "Logon as a service". > >As per the instructions. > >6) from a bash box >cd /usr/sbin >./sshd.exe -d > >7) from another bash box >ssh -l Administrator localhost > >and it worked. I could log on and start a bash session. > >8) I tried adding the appropriate public keys to the authorized_keys file in >the /home/Administrator/.ssh directory, but to no avail, I could not log in >from another machine. >In order to log in from another machine I had to change the sshd_config "To >install for logon to different user accounts" > >diff sshd_config sshd_config~ > >39c39 >< RSAAuthentication no >--- >> RSAAuthentication yes >42c42 >< PasswordAuthentication yes >--- >> PasswordAuthentication no > >9) from a bash box on the first nt box >./sshd.exe -d > >10) from a bash box on another nt box >ssh -l Administrator first.comp.ip.address > >where first.comp.ip.address, is the first computers ip address > >11) I am then prompted for a pass word, and I can log in > >12) from a bash box on the first nt box >./sshd.exe -d > >13) from a linux box >ssh -l Administrator first.comp.ip.address > >I could then log in! Linux was talking to NT! > >14) I forgot to mention that the reverse direction, using ssh to log onto a >linux box was easy. This works with no problems. > >It looks like everything is working perfect! > > > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
