Skip to content

Instantly share code, notes, and snippets.

@alanhg
Created September 9, 2022 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanhg/1a8c468f334890239ce71f92d2b0b0c2 to your computer and use it in GitHub Desktop.
Save alanhg/1a8c468f334890239ce71f92d2b0b0c2 to your computer and use it in GitHub Desktop.
scp files
echo "Uploading files to remote server...."
sshpass -p "xxx" scp -r ./build/** root@192.168.1.108:/var/www/mana
echo "File upload to remote server completed! ;)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment