How can I specify a port for the destination ip? When I do scp -p 0000 it still tries to connect on port 22, not the one I'm specifying.
scp svn_backup.tgz user@xxx.xxx.xx.xxx:/path/to/new/svn/
|
feedback
|
|
Capital "P".
See | |||||||
feedback
|
|
[I'd rather add a comment, but not enough 'reputation' for that yet.] It's also noteworthy that the port specification must come before the file name, i.e.:
*won't work. | |||
|
feedback
|
man scp, for example. – motobói Mar 20 at 11:47