This commit is contained in:
xdrm-brackets 2017-01-25 19:36:34 +01:00
parent feb73acf0d
commit 1da2452c76
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ step6(){
# (8) Define config alias with ssh-key # # (8) 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\tStrictHostKeyChecking\tno" | sudo tee /mnt/home/sats/.ssh/config > /dev/null; echo -e "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;

View File

@ -6,7 +6,7 @@ Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
User=pi User=pi
Group=pi Group=pi
ExecStart=/bin/sh /home/pi/sats-install ExecStart=/bin/sh /home/pi/sats-boot-process
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target