From 5054ffe1884896bca9250a3c30678e78d228df1a Mon Sep 17 00:00:00 2001 From: Alberto Contreras Date: Tue, 10 May 2022 21:47:13 +0200 Subject: Handle error if SSH service no present. (#1422) Add pre-fight check to verify if SSH is installed and enabled. - When not installed, perform an early return with a warning and no modifications - When not enabled, update ssh config, but do not restart ssh. - Handle an exception when user-data provides 'ssh_pwauth: True' and the open-ssh service is not available - Add openssh-server as suggested package for debian-based distros LP: #1969526 --- packages/debian/control.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/debian/control.in b/packages/debian/control.in index 7cded051..5bb915a9 100644 --- a/packages/debian/control.in +++ b/packages/debian/control.in @@ -14,7 +14,7 @@ Depends: ${misc:Depends}, iproute2, isc-dhcp-client Recommends: eatmydata, sudo, software-properties-common, gdisk -Suggests: ssh-import-id +Suggests: ssh-import-id, openssh-server Description: Init scripts for cloud instances Cloud instances need special scripts to run during initialisation to retrieve and install ssh keys and to let the user run various scripts. -- cgit v1.2.1