自宅サーバーに関する設定やTips置き場。

2008年11月15日土曜日

Server / OpenSSH

# cat /etc/ssh/sshd_config


Port 22
Protocol 2
PermitRootLogin no
PasswordAuthentication no
ChallengeResponseAuthentication no
ClientAliveInterval 0
UseDNS yes
DenyUsers mysql apache telneted test testuser administrator admin ftp
MaxStartups 2:90:4
Subsystem sftp /usr/libexec/sftp-server

0 件のコメント:

マイブログ リスト

フォロワー

Blogger Syntax Highliter