diff --git a/debian/debian-configure-sshd.sh b/debian/debian-configure-sshd.sh index 8174135..5b0c86d 100644 --- a/debian/debian-configure-sshd.sh +++ b/debian/debian-configure-sshd.sh @@ -75,7 +75,7 @@ isInFile=$(cat /home/akanealw/.ssh/config | grep -c "*root") if [ $isInFile -eq 0 ] then cp /home/akanealw/.ssh/config /home/akanealw/.ssh/config.bak > /dev/null 2>&1 - mv /home/akanealw/.ssh/known_hosts /home/akanealw/.ssh/known_hosts.old + mv /home/akanealw/.ssh/known_hosts /home/akanealw/.ssh/known_hosts.old > /dev/null 2>&1 echo "" >> /home/akanealw/.ssh/config echo "" >> /home/akanealw/.ssh/config echo "Host *-root" >> /home/akanealw/.ssh/config @@ -96,7 +96,7 @@ isInFile=$(cat /root/.ssh/config | grep -c "*root") if [ $isInFile -eq 0 ] then cp /root/.ssh/config /root/.ssh/config.bak > /dev/null 2>&1 - mv /root/.ssh/known_hosts /root/.ssh/known_hosts.old + mv /root/.ssh/known_hosts /root/.ssh/known_hosts.old > /dev/null 2>&1 echo "" >> /root/.ssh/config echo "" >> /root/.ssh/config echo "Host *-root" >> /root/.ssh/config