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