Skip to content

Instantly share code, notes, and snippets.

@alanhe421
Created September 9, 2022 11:05
Show Gist options
  • Save alanhe421/1a8c468f334890239ce71f92d2b0b0c2 to your computer and use it in GitHub Desktop.
Save alanhe421/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