From a2953139aab14e70890baa68e499ec1db1c3fc18 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 25 Jan 2017 17:49:11 +0100 Subject: [PATCH] Added no host verification --- clone/clone | 2 +- clone/utility/service_unit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clone/clone b/clone/clone index fef09de..28becec 100755 --- a/clone/clone +++ b/clone/clone @@ -245,7 +245,7 @@ step7(){ # (9) Define config alias with ssh-key # echo " (.) Define alias config"; - echo "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; + echo "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tUser\t$SERVER_USERNAME\n\tIdentityFile\t~/.ssh/id_ecdsa\n\tStrictHostKeyChecking\tno" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; sudo chown 666:666 /mnt/home/sats/.ssh/config; sudo chmod 444 /mnt/home/sats/.ssh/config; diff --git a/clone/utility/service_unit b/clone/utility/service_unit index c236263..b0fb76a 100644 --- a/clone/utility/service_unit +++ b/clone/utility/service_unit @@ -4,7 +4,7 @@ Description=SATS (Secure Authentication and Tracking SYSTEM) Daemon [Service] Type=simple User=sats -ExecStart=/bin/sh /home/sats/satsd/boot service 2>> /home/sats/satsd/log/boot.log >> /home/sats/satsd/log/boot.log +ExecStart=/bin/sh /home/sats/satsd/boot Restart=on-abort