!!Windows Server 2003 に SSHサーバを立てる 基本的にはCygwinの OpenSSH で問題ない。 hosts.allow、hosts.deny で接続を制御したい場合は /etc/hosts.allow sshd: localhost /etc/hosts.deny ALL:ALL EXCEPT localhost:DENY など ==inetdパッケージ== ==tcp wrapperパッケージ== ==を追加でインストールする。== ssh-host-config でsshdの初期設定を行う。普通はsshdというユーザが作成されるが Windows Server だと sshd_server というユーザも追加されるようだ。 sshd_server ユーザを作成しないと公開鍵方式の認証で失敗する。 !!ssh のアンインストール http://shooting-star.myhome.cx/cygwin/setup.html http://www.uhero.info/techinfo/CygwinSSH_setup/SSH-agent_setup4.html 『cygrunsrv -S sshd』:サービスの起動 『cygrunsrv -E sshd』:サービスの停止。 『cygrunsrv -Q sshd』:サービス状態の表示。 『cygrunsrv -R sshd』:サービスのアンインストール。 {{category2 ツール,Cygwin}}