Thanks for your report. This was actually fixed upstream a little while back, in OpenSSH 5.6p1:
20100618 - (djm) [contrib/ssh-copy-id] Update key file explicitly under ~ rather than assuming that $CWD == $HOME. bz#1500, patch from timothy AT gelter.com The packages in Natty contain this fix. ** Bug watch added: OpenSSH Portable Bugzilla #1500 https://bugzilla.mindrot.org/show_bug.cgi?id=1500 ** Also affects: openssh via https://bugzilla.mindrot.org/show_bug.cgi?id=1500 Importance: Unknown Status: Unknown ** Changed in: openssh (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686671 Title: ssh-copy-id assumes $HOME -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
