This bug was fixed in the package openssh - 1:6.2p1-2
---
openssh (1:6.2p1-2) unstable; urgency=low
* Fix build failure on Ubuntu:
- Include openbsd-compat/sys-queue.h from consolekit.c.
- Fix consolekit mismerges in monitor.c and monitor_wrap.c.
-- Colin Watson Thu, 09
Yep.
Here's a patch. This catches the case of mistyping the "-i" argument into
anything else, and also catches the generic case of any extra arguments.
$ diff -U 2 /usr/bin/ssh-copy-id /tmp/ssh-copy-id
--- /usr/bin/ssh-copy-id2010-08-10 04:36:09.0 +0100
+++ /tmp/ssh-copy-id2011-
Thanks for taking the time to report this bug. I trivially confirmed it
with your example. I was thinking it was corrupting the
authorized_keys, but as it isn't, and as the garbled response is
reasonably obviously an indication of an error, I will mark priority
low.
** Changed in: openssh (Ubunt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/835901
Title:
ssh-copy-id: fails to sanitize arguments
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+