This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sshd and ssh


Corinna wrote:

> I installed sshd under my own account as I had installed 2.5.2
> before. I'm just using cygrunsrv now instead of SRVANY. I didn't
> had to change any user or mode settings of my files. I installed
> the service with:

>  cygrunsrv -I "sshd" -p /usr/sbin/sshd -d "CYGWIN sshd" -a -D -u
corinna

I tried to install with:

$ cygrunsrv -I "sshd" -p /usr/sbin/sshd -d "CYGWIN sshd" -a -D -u
ronaldo
   Enter password of user `.\ronaldo': <enter>
   Reenter, please: <enter>

And after,

$ cygrunsrv -S sshd
   cygrunsrv: Error starting a service: StartService:  Win32 error 1069:

So, now it does not work! What is wrong?

My settings are:

$ ls -ld $HOME
drwxr-xr-x  29 ronaldo     12288 May 15 14:32 /home/ronaldo/

$ ls -ld .ssh
drwxr-xr-x   2 ronaldo      4096 May 15 14:42 .ssh

$ ls -l .ssh
total 8
-rw-r--r--   1 ronaldo       334 May 15 14:41 authorized_keys
-rw-r--r--   1 ronaldo       830 May 15 14:42 authorized_keys2
-rw-r--r--   1 ronaldo       668 May 15 14:42 id_dsa
-rw-r--r--   1 ronaldo       605 May 15 14:42 id_dsa.pub
-rw-r--r--   1 ronaldo       883 May 15 14:41 id_rsa
-rw-r--r--   1 ronaldo       225 May 15 14:41 id_rsa.pub
-rw-r--r--   1 ronaldo       530 May 15 14:41 identity
-rw-r--r--   1 ronaldo       334 May 15 14:41 identity.pub

$ ls -l /etc/ssh*
-rw-r--r--   1 ronaldo      1123 May 15 13:01 /etc/ssh_config
-rw-r--r--   1 ronaldo       668 May 15 11:38 /etc/ssh_host_dsa_key
-rw-r--r--   1 ronaldo       605 May 15 11:38 /etc/ssh_host_dsa_key.pub
-rw-r--r--   1 ronaldo       530 May 15 11:38 /etc/ssh_host_key
-rw-r--r--   1 ronaldo       334 May 15 14:38 /etc/ssh_host_key.pub
-rw-r--r--   1 ronaldo       334 May 15 11:38 /etc/ssh_host_key.pub~
-rw-r--r--   1 ronaldo       887 May 15 11:38 /etc/ssh_host_rsa_key
-rw-r--r--   1 ronaldo       225 May 15 11:38 /etc/ssh_host_rsa_key.pub
-rw-r--r--   1 ronaldo      1166 May 16 15:29 /etc/sshd_config

$ id
uid=100(ronaldo) gid=0(root) groups=0(root)

passwd entry:
ronaldo::100:0:Ronaldo Fumio
Hashimoto,U-ronaldo,S-1-5-21-1338115281-622485389-1541874228-1004:/home/ronaldo:/bin/bash

group entry:
root:S-1-5-32-544:0:

--
Ronaldo Fumio Hashimoto <ronaldo@ime.usp.br>
Home Page: http://www.ime.usp.br/~ronaldo
--



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]