mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-09-11 00:44:38 +08:00
Update ipv6_static_interfaces.cfg
This commit is contained in:
parent
726e7d14de
commit
33929e3072
1 changed files with 0 additions and 2 deletions
|
@ -57,8 +57,6 @@ network:
|
|||
# later commands
|
||||
runcmd:
|
||||
- sed -ri 's/^#?Port.*/Port sshPORT/g' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
|
||||
- sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||
- update-rc.d ssh enable
|
||||
- ssh-keygen -A
|
||||
- /etc/init.d/ssh restart
|
||||
|
|
Loading…
Add table
Reference in a new issue