perf: 优化 ssh 服务启动脚本

This commit is contained in:
xiao 2024-12-20 14:30:21 +08:00 committed by cnb
parent a4b7ce1866
commit 1d7a4ee67e

2
bt.sh
View File

@ -33,7 +33,7 @@ soft_start(){
pkill crond
/sbin/crond
ssh-keygen
ssh-keygen -A
chmod 600 /etc/ssh/ssh_host_*
/usr/sbin/sshd -D &
}