upd: clone > setup new configuration for xdrm.io ssh (port=443)

This commit is contained in:
xdrm-brackets 2018-01-26 13:36:30 +01:00
parent 9ba80fbc10
commit 4dd4d353da
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;