From 4dd4d353da384dbe24d606db786c5072cd9d9d99 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Fri, 26 Jan 2018 13:36:30 +0100 Subject: [PATCH] upd: clone > setup new configuration for xdrm.io ssh (port=443) --- clone/clone | 2 +- clone/utility/sats-install | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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;