ubuntu-server-10-04:sshd_setting
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
ubuntu-server-10-04:sshd_setting [2015/01/03 19:25] – [ログイン用公開鍵の設置] admin | ubuntu-server-10-04:sshd_setting [2015/01/03 19:37] (現在) – 以前のリビジョンを復元 (2010/07/23 00:41) admin | ||
---|---|---|---|
行 10: | 行 10: | ||
- | SSHの設定ファイルは / | + | SSHDの設定ファイルは / |
< | < | ||
$ cd /etc/ssh/ | $ cd /etc/ssh/ | ||
- | $ sudo cp ./ | + | $ sudo cp ./ |
</ | </ | ||
行 38: | 行 38: | ||
< | < | ||
- | $ diff ~/backup/ | + | $ diff / |
- | 5a6 | + | 5c5,6 |
+ | < Port 22 | ||
+ | --- | ||
+ | > #Port 22 | ||
> Port 5555 | > Port 5555 | ||
- | 28c29,30 | + | 26c27,28 |
- | < PermitRootLogin | + | < PermitRootLogin |
--- | --- | ||
- | > # | + | > # |
> PermitRootLogin no | > PermitRootLogin no | ||
- | 52a55 | + | 50a53 |
> PasswordAuthentication no | > PasswordAuthentication no | ||
- | 88a92,99 | + | 86a90,100 |
- | > | + | > |
- | > | + | > |
- | > # Added by admin begin | + | > ##### ADDED by foo START ##### |
> AllowUsers foo | > AllowUsers foo | ||
- | > | + | > |
- | > # Added by admin end | + | > #KeepAlive no |
- | > | + | > # |
- | > | + | > # |
+ | > | ||
+ | > ##### ADDED by foo END ##### | ||
+ | > | ||
</ | </ | ||
行 81: | 行 87: | ||
< | < | ||
- | $ sudo service | + | $ sudo / |
</ | </ | ||
ubuntu-server-10-04/sshd_setting.1420280751.txt.gz · 最終更新: 2015/01/03 19:25 by admin