/etc/ssh_host_key
/etc/ssh_host_key.pub
/etc/ssh_host_rsa_key
/etc/ssh_host_rsa_key.pub
/etc/ssh_config
/etc/ssh_host_dsa_key
/etc/ssh_host_dsa_key_pub
/etc/sshd_config
を削除して
$ ssh-host-config
Generating /etc/ssh_host_key
Generating /etc/ssh_host_rsa_key
Generating /etc/ssh_host_dsa_key
Generating /etc/ssh_config file
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
For more info on privilege separation read /usr/doc/openssh/README.privsep.
Shall privilege separation be used? (yes/no) no
Generating /etc/sshd_config file
Do you want to install sshd as service?
(Say "no" if it's already installed as service) (yes/no) yes
Which value should the environment variable CYGWIN have when
sshd starts? It's recommended to set at least "ntsec" to be
able to change user context without password.
Default is "binmode ntsec tty". CYGWIN=ntsec
cygrunsrv: Error installing a service: OpenService: Win32 error 1073:
指定されたサービスは既に開始されています。
Host configuration finished. Have fun!
$ ssh-user-config
Configuration finished. Have fun!
となり、サービスを見てみるとCYGWIN sshdが起動してました。
|