bugzilla-daemon at bugzilla.mindrot.org
2009-Nov-01 01:03 UTC
[Bug 1669] New: ssh-copy-id has options that could be added to MAN page
https://bugzilla.mindrot.org/show_bug.cgi?id=1669
Summary: ssh-copy-id has options that could be added to MAN
page
Product: Portable OpenSSH
Version: 5.3p1
Platform: Other
OS/Version: Other
Status: NEW
Severity: enhancement
Priority: P2
Component: Documentation
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: tom at ritter.vg
After googling about using ssh-copy-id on a server running on a
nonstandard port, I learned that I could use
$ ssh-copy-id '-p 1234 name at server'
to pass the port option through to ssh. This ability is not documented
on the man page, and I thought it was a normal use case and worth
putting in the documentation.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2009-Nov-01 22:16 UTC
[Bug 1669] ssh-copy-id has options that could be added to MAN page
https://bugzilla.mindrot.org/show_bug.cgi?id=1669
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2009-11-02
09:16:22 EST ---
I'm not sure if that's a feature or an accident of the implementation.
The only reason it works is that $1 is not quoted in this line:
{ eval "$GET_ID" ; } | ssh $1 [...]
I would have expected the canonical way to do this would be to put a
port directive into your ~/.ssh/config, eg
Host server
Port 1234
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.