debug: check on ssh status when setting up ci

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-09-22 23:27:32 -04:00
1 parent f72202c406
commit 46c1e80c19
1 file changed
+3
+3
View File
@@ -86,7 +86,10 @@ ifneq ($(wildcard /etc/ssh/sshd_config),)
ifeq ($(shell grep 22333 /etc/ssh/sshd_config),)
sed --in-place "s:^Port 22:Port 22 \\nPort 22333:g" /etc/ssh/sshd_config
endif
cat /etc/ssh/sshd_config
service ssh restart
service ssh status
journalctl -u ssh -f -n 1000
endif
@echo "-----> Installing SSH public key..."