I experience the same issue, but can provide more details than those
above.  Do I describe the same situation?

For me, the problem is that grsync does not include all elements of what
I have indicated in the advanced options tab. Specifically, quotation
marks do not get passed along in the rsync command that gets executed.

For me, the result is that rsync tries to use the default port 22, instead of 
port 7822, as stipulated in: 
-e "ssh -p 7822"

grsync instead renders this command as -e ssh -p 7822, without quotation
marks, and rsync doesn't know what to do with this.  The result, is that
it uses an incorrect, closed port, hence, no password request.

grsync doesn't ever provide an error.  It simply sits there.  One can
only see the issue, and an error, if you use grsync's "rsync command
line" under the "File" menu, and copy that text into a terminal.

When I run that, I get the error
ssh: connect to host remotehost-name port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]

The command that grsync erroneously generates is, without quotation marks: 
rsync -r -t -v --progress --delete -z -s -e ssh -p 7822 --exclude .* 
/local-path/local-directory/ login@remote-server:path/directory

but what I actually entered into grsync was, with quotation marks: 
rsync -r -t -v --progress --delete -z -s -e "ssh -p 7822" --exclude ".*" 
/local-path/local-directory/ login@remote-server:path/directory

This is in error, on grsync's part.  When run from the prompt, rsync
works just fine.

Thank you for your assistance.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1789012

Title:
  Grsync doesn't ask for password for a remote->local backup via SSH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grsync/+bug/1789012/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to