Bug 2403 - ssh port setting
Summary: ssh port setting
Status: CLOSED WORKSFORME
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.4
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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.