Skip to content

Instantly share code, notes, and snippets.

@sorokadima
Last active February 14, 2020 12:52
Show Gist options
  • Save sorokadima/8f947ab0002d72a15bbb5221bcda473a to your computer and use it in GitHub Desktop.
Save sorokadima/8f947ab0002d72a15bbb5221bcda473a to your computer and use it in GitHub Desktop.
SSH Upload Folder (sshpass)
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