Bug 1823

Summary: specify port in ssh-copy-id
Product: Portable OpenSSH Reporter: Paolo Borelli <pborelli>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P2    
Version: 5.5p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1980    
Attachments:
Description Flags
patch against the current version of fedora none

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