diff --git a/clone/clone b/clone/clone index 12ab2f3..d64c2e1 100755 --- a/clone/clone +++ b/clone/clone @@ -294,7 +294,7 @@ step6(){ # (8) Define config alias with ssh-key # echo " (.) Define alias config"; - 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; + echo -e "Host\tsmmp-server\n\tHostname\t$SERVER_HOSTNAME\n\tPort\t443\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/sats-install b/clone/utility/sats-install index e858ca3..3262290 100644 --- a/clone/utility/sats-install +++ b/clone/utility/sats-install @@ -53,11 +53,11 @@ test $? -eq 0 \ || failexit; slog " * 6. Installing necessary packages"; -sudo apt-get -y install git php php-cli php-curl python-dev; -test $? -eq 0 \ - && slog " > done" \ - || failexit; - +slog " [1/5] git"; sudo apt-get -y install git && slog " > done" || failexit; +slog " [2/5] php"; sudo apt-get -y install php && slog " > done" || failexit; +slog " [3/5] php-cli"; sudo apt-get -y install php-cli && slog " > done" || failexit; +slog " [4/5] php-curl"; sudo apt-get -y install php-curl && slog " > done" || failexit; +slog " [5/5] python-dev"; sudo apt-get -y install python-dev && slog " > done" || failexit; BRANCH=$(sudo -u sats cat /home/sats/satsd/conf/machine.branch) > /dev/null;