Skip to content

Commit a634517

Browse files
committed
SSH
1 parent 23fcf3b commit a634517

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci-ubuntu-2204.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ provisioners:
166166
# - type: shell
167167
# inline: "ls -lah /opt/couchdb/"
168168
- type: shell
169-
inline: "sudo ssh-keygen -A && sudo dpkg-reconfigure openssh-server && sudo cat /etc/ssh/sshd_config"
169+
inline: "sudo systemctl disable --now ssh.socket && sudo systemctl enable --now ssh.service"
170+
# - type: shell
171+
# inline: "sudo rm /etc/ssh/sshhost* && sudo ssh-keygen -A && sudo dpkg-reconfigure openssh-server && sudo cat /etc/ssh/sshd_config"
170172
- type: shell
171173
scripts:
172174
- packer-scripts/create-image-metadata-tarball

0 commit comments

Comments
 (0)