Re: [ssh-l] Problem setting up sshd on W2K Pro

From: Chris Anderson <Chris.Anderson_at_**********.***>
Date: Wed Apr 24 2002 - 22:04:18 EDT

Thank you for your patience with my ignorance of W2K. I used the services
interface to make sshd "log on as" my username and it worked. Now
everytime I boot my W2K system, sshd is running in the background as it
ought. Thank you again.

This still leaves the 2nd question about password authentication failing.
Now that I have sshd running on my server, I still cannot ssh to it with
my username (ssh -l canderso ip.ad.dr.ess): the client returns permission
denied while the server logs Failed password for canderso from
ip.ad.dr.ess port 3414 ssh2. I have reset my password many times on the
server (using passwd under cygwin), but I'm not sure I did what I was
trying to do. I still don't understand how password authentication works
with ssh. Does sshd look at cygwin's /etc/passwd to confirm what is sent
over? Does it look somewhere else? Does sshd even use cygwin at all to
determine these things? I am running the ssh client on a Linux box so
maybe there is incompatibility between the two password formats, though I
doubt it.

Chris Anderson

Chris Ellsworth wrote:

> admin tools are also located within the control panel.
> so start>settings>control pannel>administrator tools>services
> find the sshd service in the list double click it and go to the logon
> tab that will tell you how it logs on
> local system or under some account.
>
> but does the user you login have admin rights?
>
> ----- Original Message -----
> From: Chris Anderson
> To: ssh-l@erdelynet.com
> Sent: Wednesday, April 24, 2002 5:31 PM
> Subject: Re: [ssh-l] Problem setting up sshd on W2K Pro
>
> Chris Ellsworth wrote:
> 1. Is sshd being run as localsystem or by another account? (can be
> seen in programs>admin tools>services
> I am logged in to W2K as a user, not localsystem (Programs>admin
> tools>services is not in my Start menu.)
>
> 2. what partition type NTFS or FAT? (NTFS useing ntsec?)
> NTFS using ntsec.
> 3. have you setup the passwd and group files?
> Yes.
> 4. have setup what groups the users belong too?
> I have not touched the /etc/passwd file.
> 5. if the sshd service is setup to run as localsystem system must
> have access to the/etc-rw-r----- 1 admins SYSTEM 668 Apr 22
> 10:42 ssh_host_dsa_key
> -rw-r----- 1 admins SYSTEM 532 Apr 22 10:42 ssh_host_key
> -rw-r----- 1 admins SYSTEM 887 Apr 22 10:42
> ssh_host_rsa_key/var/logdrwxr-xr-x 2 admins SYSTEM 0 Apr
> 22 10:52 ./
> drwxr-xr-x 6 admins admins 0 Apr 22 10:42 ../
> -rw-rw-r-- 1 admins SYSTEM 298080 Apr 23 00:58 lastlog
> -rwxr-xr-x 1 admins SYSTEM 17439 Apr 22 10:42 setup.log*
> -rwxr-xr-x 1 admins SYSTEM 779015 Apr 22 10:42
> setup.log.full*
> -rw-r--r-- 1 SYSTEM SYSTEM 4375 Apr 23 22:11 sshd.log
> thats how my ssh_host keys are setup and 2it must have rw access to
> /var/log as you can see windows does not do a good job at logging the
> errro messages reload the sshd serviceiecygrunsrv -R sshdthen
> docygrunsrv -I sshd -p /usr/sbin/sshd -a "-D -e" -2
> /var/log/sshd.logthis will setup sshd to log to a txt file
> /var/log/sshd.log so that you can accuall see what is going on.
> Thank you for your response. If/when I get it working, I'll post my
> results.
> Chris Anderson
>
> --
> List Information: http://tech.erdelynet.com/maillist-ssh-l.asp
> List Archives: http://erdelynet.com/archive/ssh-l/

--
List Information: http://tech.erdelynet.com/maillist-ssh-l.asp
List Archives:    http://erdelynet.com/archive/ssh-l/
Received on Wed Apr 24 16:06:27 2002

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:34 EDT