debug: why ssh isnt running
This commit is contained in:
1 file changed
+3
-1
@@ -91,13 +91,15 @@ ifeq ($(shell grep 22333 /usr/lib/systemd/system/ssh.socket),)
|
|||||||
endif
|
endif
|
||||||
cat /usr/lib/systemd/system/ssh.socket
|
cat /usr/lib/systemd/system/ssh.socket
|
||||||
cat /etc/ssh/sshd_config
|
cat /etc/ssh/sshd_config
|
||||||
|
service ssh status
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl list-unit-files | sort
|
systemctl list-unit-files | sort
|
||||||
|
service ssh status
|
||||||
journalctl -u ssh -n 1000
|
journalctl -u ssh -n 1000
|
||||||
systemctl restart ssh.socket
|
systemctl restart ssh.socket
|
||||||
|
sleep 2
|
||||||
journalctl -u ssh -n 1000
|
journalctl -u ssh -n 1000
|
||||||
service ssh status
|
service ssh status
|
||||||
sleep 2
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@echo "-----> Installing SSH public key..."
|
@echo "-----> Installing SSH public key..."
|
||||||
|
|||||||
Reference in new issue
Block a user