Added no host verification
This commit is contained in:
parent
5f46dd67bd
commit
a2953139aa
|
@ -245,7 +245,7 @@ step7(){
|
||||||
|
|
||||||
# (9) Define config alias with ssh-key #
|
# (9) Define config alias with ssh-key #
|
||||||
echo " (.) Define alias config";
|
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 chown 666:666 /mnt/home/sats/.ssh/config;
|
||||||
sudo chmod 444 /mnt/home/sats/.ssh/config;
|
sudo chmod 444 /mnt/home/sats/.ssh/config;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ Description=SATS (Secure Authentication and Tracking SYSTEM) Daemon
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=sats
|
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
|
Restart=on-abort
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue