Bug 2403 - ssh port setting
ssh port setting
Status: CLOSED WORKSFORME
Product: rsync
Classification: Unclassified
Component: core
2.6.4
All All
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-01 17:13 UTC by Marek
Modified: 2005-04-01 11:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 2005-03-01 17:13:44 UTC
It should be possible to set port for ssh transfer.
Comment 1 Wayne Davison 2005-03-01 18:09:25 UTC
It is possible:

rsync -ave 'ssh -p 4242' host:/src/ /dest/

However, you're much better off using the ~/.ssh/config file to define what port
"host" uses so you don't need to specify it manually each time.