Last active
February 14, 2020 12:52
-
-
Save sorokadima/8f947ab0002d72a15bbb5221bcda473a to your computer and use it in GitHub Desktop.
SSH Upload Folder (sshpass)
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
sshpass -p "PaSSwOrD" rsync -avz -e 'ssh -p 222' /home/user/projects/local/ admin@144.444.444.444:/var/www/public/ --ignore-errors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment