Recently I have been unable to rsync over ssh. Each time I get the same error
bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
I am running
sudo rsync -av /var/www/html/somedir/ firstname.lastname@example.org:Users/myuser/Desktop/ec2backup
Please note the username, IP, and directories have been changed for the purposes of this post.
In the past I have ran the exact same command as verified using bash_history.
What I have tried:
- Ran a similar command from another server, resulting in the same error message.
- Tested rsync locally (local dir to local dir), which worked perfectly.
The only thing that has changed is I've recently installed Virtualbox and Vagrant. Is it possible I may have messed up authentication/ports/etc on my local machine?
Any help is greatly appreciated.