summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-phosphor')
-rw-r--r--meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service b/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service
index 82ffe7919..6fa97466a 100644
--- a/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service
+++ b/meta-phosphor/recipes-phosphor/console/obmc-console/obmc-console-ssh@.service
@@ -1,12 +1,14 @@
[Unit]
Description=Phosphor Host Console SSH Per-Connection
Wants=obmc-console@{OBMC_CONSOLE_HOST_TTY}.service
+Wants=sshdgenkeys.service
[Service]
-Environment="DROPBEAR_RSAKEY_DIR=/etc/dropbear"
-EnvironmentFile={envfiledir}/dropbear
-ExecStart=-/usr/bin/env dropbear -i -r ${{DROPBEAR_RSAKEY_DIR}}/dropbear_rsa_host_key -c "/usr/bin/env obmc-console-client" $DROPBEAR_EXTRA_ARGS
-SyslogIdentifier=dropbear
-ExecReload={base_bindir}/kill -HUP $MAINPID
+Environment="SSHD_OPTS="
+EnvironmentFile=-/etc/default/ssh
+ExecStart=-@SBINDIR@/sshd -i -o ForceCommand="/usr/bin/env obmc-console-client"
+SyslogIdentifier=sshd
+ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID
StandardInput=socket
+StandardError=syslog
KillMode=process
OpenPOWER on IntegriCloud