mv ./dist ./app2 sudo tar -zcvf app2.tar.gz ./app2 echo "gctgct1QAZ2Wsx" | sudo scp app2.tar.gz root@101.200.219.190:/home/geo/geo-test/docker-volumes/nginx/html sudo rm app2.tar.gz sudo rm -rf app2