bugzilla-daemon at mindrot.org
2015-Apr-15 14:58 UTC
[Bug 2383] New: ssh-copy-id hangs when already connected with connection sharing
https://bugzilla.mindrot.org/show_bug.cgi?id=2383 Bug ID: 2383 Summary: ssh-copy-id hangs when already connected with connection sharing Product: Portable OpenSSH Version: 6.8p1 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 Component: ssh-copy-id Assignee: unassigned-bugs at mindrot.org Reporter: tobias.pal at gmail.com Created attachment 2587 --> https://bugzilla.mindrot.org/attachment.cgi?id=2587&action=edit ssh-copy-id-connection-sharing-hang.patch If I successfully ssh into somewhere and then try to use ssh-copy-id, it just hangs. I have this in my .ssh/config: ControlMaster auto ControlPath /dev/shm/ssh_control_%h_%p_%r ControlPersist 3600 It's because of this line in ssh-copy-id: REMOTE_VERSION=$(ssh -v -o PreferredAuthentications=',' "$@" 2>&1 | sed -ne 's/.*remote software version //p') Because of the connection sharing, this doesn't fail, but opens a shell on the other side and waits for input indefinitely. A simple fix is to add -o ControlPath=none. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Apr-15 16:18 UTC
[Bug 2383] ssh-copy-id hangs when already connected with connection sharing
https://bugzilla.mindrot.org/show_bug.cgi?id=2383 Paul Tobias <tobias.pal at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Paul Tobias <tobias.pal at gmail.com> --- Oh, this was already reported as bug 2195. I went through the process at http://www.openssh.com/report.html, but I didn't see that bug. *** This bug has been marked as a duplicate of bug 2195 *** -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Aug-11 13:04 UTC
[Bug 2383] ssh-copy-id hangs when already connected with connection sharing
https://bugzilla.mindrot.org/show_bug.cgi?id=2383 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Damien Miller <djm at mindrot.org> --- Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1 -- You are receiving this mail because: You are watching the assignee of the bug.