From 34bffaa8e4662d4309c25a33ee611557fd3a4537 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 28 Jun 2018 09:55:41 -0400 Subject: [PATCH] Add 3389 ssh port It just so happens that 3389 (RDP) is forwarded by default by Lenovo IMMs. Take advantage of this to offer a way to ssh in through IMM/XCC. --- xCAT-genesis-scripts/usr/bin/doxcat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-genesis-scripts/usr/bin/doxcat b/xCAT-genesis-scripts/usr/bin/doxcat index a74b8de36..ac7118c2e 100755 --- a/xCAT-genesis-scripts/usr/bin/doxcat +++ b/xCAT-genesis-scripts/usr/bin/doxcat @@ -76,6 +76,8 @@ if [ $? -ne 0 ]; then fi echo 'Protocol 2' >> /etc/ssh/sshd_config +echo 'Port 2' >> /etc/ssh/sshd_config +echo 'Port 3389' >> /etc/ssh/sshd_config /usr/sbin/sshd mkdir -p /etc/xcat mkdir -p /etc/pki/tls