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 From: Rael Gugelmin Cunha X-Authentication-Warning: grad.icmc.sc.usp.br: www set sender to rael AT grad DOT icmc DOT sc DOT usp DOT br using -f To: cygwin AT cygwin DOT com Subject: RE: Re: Anybody really runs sshd in win2K? Message-ID: <996264322.3b61c98285fcf@grad.icmc.sc.usp.br> Date: Fri, 27 Jul 2001 17:05:22 -0300 (EST) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 I re-installed cygwin. I execute ssh-host-config. When I try run chown system.system /etc/ssh_host*_key and chmod 600 /etc/ssh_host*_key it's appears this message: Administrator AT PARADISE /usr/sbin $ ./sshd.exe @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Bad ownership or mode(0600) for '/etc/ssh_host_key'. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh_host_key Could not load host key: /etc/ssh_host_key @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Bad ownership or mode(0600) for '/etc/ssh_host_rsa_key'. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh_host_rsa_key Could not load host key: /etc/ssh_host_rsa_key @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Bad ownership or mode(0600) for '/etc/ssh_host_dsa_key'. It is recommended that your private key files are NOT accessible by others. This private key will be ignored. bad permissions: ignore key: /etc/ssh_host_dsa_key Could not load host key: /etc/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. I did not have my domain user. The command mkpasswd -d | grep rael > rael causes this: Cannot get DC, code = 2453 If I try without this commands, sshd runs (only from command line). Then, I can connect. But, I cannot login. This appears: Disconnected; no more authentication methods available (No further authenticatio n methods available.). Citando Prentis Brooks : > btw, Corinna is the porter for OpenSSH under Cygwin. I have installed > sshd on my 2k professional system. Here are the steps I followed: > > 1) Updated Cygwin via setup.exe > 2) Ran ssh-host-config -y (which runs cygrunsrv, btw, Mike Erdely, if > you > are on this list, you may want to update that piece of your docs) > 3) chown system.system /etc/ssh_host*_key > 4) chmod 600 /etc/ssh_host*_key > 5) Tested, could connect but not login since I did not have my domain > user > in /etc/passwd, ran mkpasswd -d | grep prentis > prentis then > appended that entry to my /etc/passwd. > 6) Logged into the 2k host from my Solaris box as prentis > > I haven't tried to see if I can supercede my NT password with an > /etc/passwd > or /etc/shadow entry, will test that next. -- 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/