Bug 1823 - specify port in ssh-copy-id
Summary: specify port in ssh-copy-id
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 5.5p1
Hardware: All All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: 1980
  Show dependency treegraph
 
Reported: 2010-09-17 07:25 AEST by Paolo Borelli
Modified: 2013-03-22 12:02 AEDT (History)
1 user (show)

See Also:


Attachments
patch against the current version of fedora (1.02 KB, patch)
2010-09-17 07:28 AEST, Paolo Borelli
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Borelli 2010-09-17 07:25:09 AEST
Often I use tunnels and NAT to access remote machines through the same IP on different ports, so I modified the ssh-copy-id to take a "-p PORT" argument.
Comment 1 Paolo Borelli 2010-09-17 07:28:53 AEST
Created attachment 1928 [details]
patch against the current version of fedora

I just did a quick patch against the version of the script in my system.

I could not see the current version of the script on http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh so I hope it still applies
Comment 2 Damien Miller 2013-02-08 10:40:58 AEDT
This is fixed in the proposed ssh-copy-id rewrite in bug #1980
Comment 3 Damien Miller 2013-03-22 12:02:04 AEDT
mark bugs closed by openssh-6.2 release as CLOSED