ユーザ用ツール

サイト用ツール


ubuntu-server-10-04:sshd_setting

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
ubuntu-server-10-04:sshd_setting [2010/07/23 00:38] 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   * PermitRootLogin no
行 37: 行 37:
  
  
 +<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.1279813120.txt.gz · 最終更新: 2010/07/23 00:38 by admin