From 29ecd37c6ea71c78266d77a73842d26e61c67343 Mon Sep 17 00:00:00 2001 From: Vasily Pleshakov Date: Thu, 19 Apr 2018 23:13:40 +0400 Subject: [PATCH] Create .ssh dir if it not exist --- scripts/enable-ssh.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/enable-ssh.sh b/scripts/enable-ssh.sh index 4654b95..4813aa3 100644 --- a/scripts/enable-ssh.sh +++ b/scripts/enable-ssh.sh @@ -32,6 +32,7 @@ IFS='.' read -r -a INT_IP_ARR <<< "$INT_IP" PORT=$(( 22000 + (${INT_IP_ARR[2]} - 0) * 256 + ${INT_IP_ARR[3]} )) # add ssh key (if set) to authorized_keys +mkdir -p ${HOME}/.ssh ( echo "#Added by Appveyor Build Agent" echo "${APPVEYOR_SSH_KEY}"