Linux SCP defining destination port
Solution 1:
Capital "P".
$ scp -P 12345 svn_backup.tgz [email protected]:/path/to/new/svn/
See $ man scp
for more details.
Solution 2:
It's also noteworthy that the port specification must come before the file name, i.e.:
scp svn_backup.tgz -P 12345 [email protected]:/path/to/new/svn/
*won't work.