summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2020-02-22 13:44:18 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2020-02-22 13:44:18 +0000
commit9f113646e96372f18dfa7853d0ba9ebc031cdf6b (patch)
treeff59a984a08a2959ab75a851943f0f48fcfec4c0 /meta-phosphor/recipes-phosphor
parent67efd9872fc3aaa63350bd1722f6bc0346bf8460 (diff)
downloadtalos-openbmc-9f113646e96372f18dfa7853d0ba9ebc031cdf6b.tar.gz
talos-openbmc-9f113646e96372f18dfa7853d0ba9ebc031cdf6b.zip
Re-enable port 2200 console service under OpenSSH04-16-2019
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