yuan1am
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
0 deletions
-
README.md
|
@ -44,6 +44,19 @@ mss 1452 #MSS |
|
|
``` |
|
|
``` |
|
|
/etc/init.d/networking restart |
|
|
/etc/init.d/networking restart |
|
|
``` |
|
|
``` |
|
|
|
|
|
#### 4.允许root用户ssh连接 |
|
|
|
|
|
打开文件 |
|
|
|
|
|
``` |
|
|
|
|
|
nano /etc/ssh/sshd_config |
|
|
|
|
|
``` |
|
|
|
|
|
取消注释,修改 |
|
|
|
|
|
``` |
|
|
|
|
|
PermitRootLogin yes |
|
|
|
|
|
``` |
|
|
|
|
|
重启服务 |
|
|
|
|
|
``` |
|
|
|
|
|
service sshd restart |
|
|
|
|
|
``` |
|
|
#### 4.重启系统 |
|
|
#### 4.重启系统 |
|
|
``` |
|
|
``` |
|
|
reboot |
|
|
reboot |
|
|