Displaying 2 results from an estimated 2 matches for "do_cmd2".
Did you mean:
do_cmd
2023 Feb 16
0
[Bug 3541] New: remote-to-remote case doesn't look at sshport
...le> <me>@<remote ip>:<dest dir>
It looks like at
https://github.com/openssh/openssh-portable/blob/master/scp.c#L1160 you
need to set sport to sshport if sshport is valid (and sport is invalid?
Not completely on top of that)
I'm not sure why that case is not calling do_cmd/do_cmd2 (which do
correctly consider sshport)
--
You are receiving this mail because:
You are watching the assignee of the bug.
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
...me(thost);
> - xasprintf(&bp, "%s -t -- %s", cmd, targ);
> + xasprintf(&bp, "%s -t %s%s", cmd,
> + *targ == '-' ? "-- " : "", targ);
> if (do_cmd2(host, tuser, bp, remin, remout) < 0)
> exit(1);
> (void) xfree(bp);
> @@ -631,7 +633,8 @@ toremote(char *targ, int argc, char **ar
> errs = 1;
> } else { /* local to remote *...