debug: why ssh isnt running

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-22 23:38:28 -04:00
parent 8f18c3d581
commit 4c634b6fd0

View File

@@ -91,13 +91,15 @@ ifeq ($(shell grep 22333 /usr/lib/systemd/system/ssh.socket),)
endif
cat /usr/lib/systemd/system/ssh.socket
cat /etc/ssh/sshd_config
service ssh status
systemctl daemon-reload
systemctl list-unit-files | sort
service ssh status
journalctl -u ssh -n 1000
systemctl restart ssh.socket
sleep 2
journalctl -u ssh -n 1000
service ssh status
sleep 2
endif
@echo "-----> Installing SSH public key..."