scp port on remote hosts

Matthew Monaco dgbaley27 at verizon.net
Tue Jun 1 12:10:07 EST 2010


On 05/31/2010 05:35 PM, Miguel de Val Borro wrote:
> Hello,
>
> I would like to specify ports on both hosts to copy files between two
> remote computeres. Is there any way to do this with scp? The -P flag
> seems to apply to the port on the second host only.
>
> Regards,
> Miguel
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>

The syntax -P #[,#] would be nice for this.



More information about the openssh-unix-dev mailing list