From 09d04f8731ebead80df4650bad076dbc789e70d8 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 16 Apr 2008 20:30:54 +0000 Subject: [PATCH] -Disable stricthostkeychecking to allow implicit approval of initial host keys from previously unknown neighbors git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/remoteshell | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT/postscripts/remoteshell b/xCAT/postscripts/remoteshell index 66e8a3e84..48b2019bf 100755 --- a/xCAT/postscripts/remoteshell +++ b/xCAT/postscripts/remoteshell @@ -15,6 +15,11 @@ then echo "PasswordAuthentication no" >>/etc/ssh/sshd_config fi +if [ -r /etc/ssh/sshd_config ] +then + echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config +fi + if [ -d /xcatpost/.ssh ] then logger -t xcat "Install: setup root .ssh"