Rsync Pull SSH Port other than 22

Status
Not open for further replies.

mrfontana

Cadet
Joined
Jul 11, 2012
Messages
2
Hello,

I setup an rsync pull task(rsync over SSH) through the web interface on my FreeNAS machine(FreeNAS-8.0.4-RELEASE-p3-x86 (11703)). How do I change the port number for the remote ssh server inside the task. I am using a different port on the remote machine for ssh that I am pulling from. I have made several attempts to change it but when I check my log(/var/log/messages) it keeps using port 22 when trying to connect. The changes I tried are as follows:

Remote Host Field: IP:Port
Extra Options Field: -e "ssh -p 723"
Extra Options Field: --rsh="ssh -p 723"

Thank you for any suggestions or help.
 

mrfontana

Cadet
Joined
Jul 11, 2012
Messages
2
Thanks for the response. I tried adding the following commands to the "Extra Options Fields": -e "ssh -P 723" , --rsh="ssh -P 723", -P 723, and "-P 723" and it still won't work, below are the errors I get for the commands.

Command 1, 2, and 3:

freenas rsync: ssh: connect to host 192.168.1.93 port 22: Operation timed out
freenas rsync: rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
freenas rsync: rsync error: unexplained error (code 255) at io.c(601) [Receiver=3.0.8]

Command 4 and 5:

freenas rsync: rsync: Unexpected remote arg: 192.168.1.93:/home/bbc2/test_sync
freenas rsync: rsync: syntax or usage error (code 1) at main.c(1215) [sender=3.0.8]

Am I entering this in the right field?

screenshot.jpg
 
Status
Not open for further replies.
Top