From 37d8e9ed28b4d5e51bee149105f79a863b9de323 Mon Sep 17 00:00:00 2001 From: Thijs Niks Date: Sat, 16 Nov 2019 18:12:42 -0800 Subject: [PATCH] Removing sshpass My hosting provider requires SFTP, but blocks SSH access and that seems to prevent me from using this action as it tries to execute sshpass --- entrypoint.sh | 3 --- 1 file changed, 3 deletions(-) mode change 100644 => 100755 entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh old mode 100644 new mode 100755 index a401cde..4d2c3e4 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,9 +12,6 @@ WDEFAULT_METHOD=${METHOD:-"ftp"} if [ $WDEFAULT_METHOD = "sftp" ]; then WDEFAULT_PORT=${PORT:-"22"} - echo "Establishing SFTP connection..." - sshpass -p $FTP_PASSWORD sftp -o StrictHostKeyChecking=no -P $WDEFAULT_PORT $FTP_USERNAME@$FTP_SERVER - echo "Connection established" else WDEFAULT_PORT=${PORT:-"21"} fi;