This is a discussion on SCP two remote hosts with non-default ports within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, I'm having trouble finding the correct syntax to scp between two remote hosts with non-defaults ports. <...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I'm having trouble finding the correct syntax to scp between two remote hosts with non-defaults ports. <scp -P 1234 user@remotehost:/sourcefile -P 4321 user@remotehost:/destfile> No matter what i've tried i cant get scp to connect both servers with different ports. Is this even possible? The workaround i've found is to use <ssh... "scp..."> Thanks, gerryny at gmail dot com _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@mindrot.org http://lists.mindrot.org/mailman/lis...enssh-unix-dev |