mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-11-10 09:20:34 +08:00
Update ipv6_static_interfaces.cfg
This commit is contained in:
parent
f6333c8450
commit
97925d11a6
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ runcmd:
|
||||||
- sed -ri 's/^#?PermitRootLogin.*/PermitRootLogin yes/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
|
- sed -ri 's/^#?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
|
||||||
- systemctl enable sshd
|
- systemctl enable sshd
|
||||||
|
- ssh-keygen -A
|
||||||
- systemctl restart sshd
|
- systemctl restart sshd
|
||||||
- systemctl stop kdump
|
- systemctl stop kdump
|
||||||
- systemctl disable kdump
|
- systemctl disable kdump
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue