Created
September 9, 2022 11:05
-
-
Save alanhg/1a8c468f334890239ce71f92d2b0b0c2 to your computer and use it in GitHub Desktop.
scp files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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