Created attachment 2745 [details] the patch The following command hangs: ssh-copy-id -o ControlPath=/tmp/foo hostname This is related to ssh-copy-id expecting connections to fail but actually succeeding because of the given ControlPath setting. See the patch attached for the details.
Thanks for the patch. As you can see here: http://git.hands.com/?p=ssh-copy-id.git;a=commit;h=e129c91dc474d73671304403fafda785df440105 I've applied it to my repo, which will hopefully make it into OpenSSH fairly soon. Cheers, Phil.
Close all resolved bugs after release of OpenSSH 7.7.
*** Bug 2886 has been marked as a duplicate of this bug. ***