diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 1a8b1c2b5..0c266d9b6 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -59,7 +59,6 @@ then logger -t $log_label -p local4.info "remoteshell: setup /etc/ssh/sshd_config and ssh_config" cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIG #delete all occurance of the attribute and then add xCAT settings - echo "Match all" >>/etc/ssh/sshd_config sed -i '/X11Forwarding /'d /etc/ssh/sshd_config echo "X11Forwarding yes" >>/etc/ssh/sshd_config sed -i '/MaxStartups /'d /etc/ssh/sshd_config