Mail Archives: cygwin/2001/07/27/16:01:43
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 <prentis AT aol DOT net>:
> 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/
- Raw text -