fix: restart ssh socket
https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189
This commit is contained in:
1 file changed
+1
-3
@@ -93,10 +93,8 @@ endif
|
|||||||
cat /etc/ssh/sshd_config
|
cat /etc/ssh/sshd_config
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl list-unit-files | sort
|
systemctl list-unit-files | sort
|
||||||
service ssh reload
|
systemctl restart ssh.socket
|
||||||
service ssh restart
|
|
||||||
service ssh status
|
service ssh status
|
||||||
cat /etc/init/ssh || true
|
|
||||||
sleep 2
|
sleep 2
|
||||||
journalctl -u ssh -n 1000
|
journalctl -u ssh -n 1000
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in new issue
Block a user