diff --git a/mycroft/client/enclosure/__init__.py b/mycroft/client/enclosure/__init__.py index e071bcca45..9a83357006 100644 --- a/mycroft/client/enclosure/__init__.py +++ b/mycroft/client/enclosure/__init__.py @@ -142,7 +142,7 @@ class EnclosureReader(Thread): subprocess.call('systemctl reboot -i', shell=True) if "unit.enable-ssh" in data: - subprocess.call('sudo systemctl enable ssh.socket', shell=True) + subprocess.call('sudo touch /boot/ssh', shell=True) self.ws.emit(Message("speak", { 'utterance': "SSH will be enabled on next boot"}))