Community discussions

MikroTik App
 
maxxch
just joined
Topic Author
Posts: 19
Joined: Tue Sep 20, 2005 10:38 pm

rsync to smb

Wed Apr 23, 2014 3:27 pm

I have USB HDD connected to my 2011 and sharing(using SMB) files to my home network.
Once per day I want to syncronize data on my remote server to this HDD.
I imported public ssh key to mirkrotik and now able to ssh or scp.
Normally I use rsync for such purposes but in case with MT it doesn't work.
Example:
/usr/bin/rsync -e ssh --progress -lzuogthvr /home/rsync admin-ssh@xx.xx.xx.xx:/usb1/test
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(173) [sender=3.0.7]

after some googling found that problem likely in banner which mikrotik shows when you tries to login.
Does anybody know how to fix it? or maybe alternative(secured) way to sync folders with remote linux.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12558
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: rsync to smb

Wed Apr 23, 2014 10:22 pm

SAMBA
 
maxxch
just joined
Topic Author
Posts: 19
Joined: Tue Sep 20, 2005 10:38 pm

Re: rsync to smb

Thu Apr 24, 2014 1:17 pm

huh Samba is not a best choice through the internet, so I should configure tunnel and sync using it.
Maybe there is some way to initialize sync procedure from mikrotik?

Who is online

Users browsing this forum: bp0 and 14 guests