Skip to content

Commit d97cd5c

Browse files
committed
SSH
1 parent a634517 commit d97cd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci-ubuntu-2204.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ provisioners:
166166
# - type: shell
167167
# inline: "ls -lah /opt/couchdb/"
168168
- type: shell
169-
inline: "sudo systemctl disable --now ssh.socket && sudo systemctl enable --now ssh.service"
169+
inline: "sudo rm /etc/systemd/system/ssh.service.d/00-socket.conf && sudo systemctl disable --now ssh.socket && sudo systemctl enable --now ssh.service && sudo systemctl daemon-reload && sudo systemctl restart ssh"
170170
# - type: shell
171171
# inline: "sudo rm /etc/ssh/sshhost* && sudo ssh-keygen -A && sudo dpkg-reconfigure openssh-server && sudo cat /etc/ssh/sshd_config"
172172
- type: shell

0 commit comments

Comments
 (0)