ユーザ用ツール

サイト用ツール


ubuntu-server-10-04:sshd_setting

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ubuntu-server-10-04:sshd_setting [2010/07/23 00:34] – 作成 adminubuntu-server-10-04:sshd_setting [2015/01/03 19:37] (現在) – 以前のリビジョンを復元 (2010/07/23 00:41) admin
行 27: 行 27:
 ===== 変更点 ===== ===== 変更点 =====
  
-  * Port 12222   ← ポートを変更 +  * Port 5555 
-  * PermitRootLogin no   ←  rootの直接ログインを拒否 +    * ポートを変更してセキュリティ強化 
-  * PasswordAuthentication no     ←  パスワードのみのログインを拒否 +  * PermitRootLogin no 
-  * AllowUsers foo   ←  SSHログインを許可するユーザを限定 +    * rootの直接ログインを拒否 
 +  * PasswordAuthentication no 
 +    * パスワードのみのログインを拒否 
 +  * AllowUsers foo 
 +    * SSHログインを許可するユーザを限定
  
  
 +<code>
 +$ diff /etc/ssh/sshd_config.original /etc/ssh/sshd_config
 +5c5,6
 +< Port 22
 +---
 +> #Port 22
 +> Port 5555
 +26c27,28
 +< PermitRootLogin yes
 +---
 +> #PermitRootLogin yes
 +> PermitRootLogin no
 +50a53
 +> PasswordAuthentication no
 +86a90,100
 +>
 +>
 +> ##### ADDED by foo START #####
 +> AllowUsers foo
 +>
 +> #KeepAlive no
 +> #ClientAliveInterval 60
 +> #ClientAlivecountMax 30
 +>
 +> ##### ADDED by foo END   #####
 +>
 +</code>
  
  
ubuntu-server-10-04/sshd_setting.1279812886.txt.gz · 最終更新: 2010/07/23 00:34 by admin