Unison sync between host server and virtual machine

I am trying to set up unison to synchronize directories between my operating system and a virtual OS. I can't get off my host terminal with no problem. When Unison tries to ssh, I get "Fatal error: Lost connection to server". A few more details:

I have set up a virtual machine (based on Cloudera VM-4.1.1 virtual machine) on my host system (Ubuntu 14.01) using the VM VM virtual machine.

I have set network settings in VirtualBox manager so that I can ssh to the VM from my host machine (under Settings> Networking I have set adapter 1 attached to the bridged adapter) enter image description here

With this parameter, I can successfully ssh to the VM from my host terminal, but unison throws the error mentioned above.

Here is the unison profile file:

    # Unison preferences
    label = Synchronize to code and data of cloudera hadoop VM
    root = /some/local/path
    root = ssh://username@xxx.xxx.xxx.xxx//some/remote/path
    sshargs = -C

      

where some / local / paths, some / remote / path and xxx.xxx.xxx.xxx have valid values. Any ideas?

PS: I am sorry if this is off topic. I didn't know where to place it.

+3
virtual-machine ssh unison


source to share


No one has answered this question yet

Check out similar questions:

3382
How is Docker different from a virtual machine?
743
Accessing localhost from VirtualBox virtual machine
509
How to SSH to VirtualBox guest externally via host?
2
Communication between two virtual machines
1
Problems accessing my virtual machine from local network using SSH
0
Understanding the IP address of the virtual machine ???? Basics?
0
How can I SSH remotely in my Linux VirtualBox?
-1
SSH into Linux guest VM from external source?
-1
Wireless network makes virtual machines inaccessible to the outside world
-4
Authenticate VM on Gerit git server



All Articles
Loading...
X
Show
Funny
Dev
Pics