Cygwin なんでも掲示板

一覧最新記事過去一覧 | 検索FAQアンテナHOME
(新規投稿・発言はできません)

No.702  Re:CYGWIN sshdの起動でエラーが出ます
発言者: Yuuka
発言日: 2002 11/08 00:23
 
/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が起動してました。


▼関連発言

701:CYGWIN sshdの起動でエラーが出ます [Yuuka] 11/07
 └702:Re:CYGWIN sshdの起動でエラーが出ます [Yuuka] 11/08 <

Pass 保存

早田のホームページへ
CGIROOM