https://bugzilla.mindrot.org/show_bug.cgi?id=2118 Bug ID: 2118 Summary: ssh-copy-id hangs Product: Portable OpenSSH Version: 6.2p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org Reporter: karoshism at mailinator.com When running ssh-copy-id, it executes REMOTE_VERSION=$(ssh -v -o PreferredAuthentications=',' "$@" 2>&1 | sed -ne 's/.*remote software version //p') Now this hangs for me, as it produces an endless loop like # ssh -v -o PreferredAuthentications=',' root at machine OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). OpenSSH_6.2p1, OpenSSL 1.0.1e 11 Feb 2013 ... debug1: Authentications that can continue: publickey,password debug1: No more authentication methods to try. Permission denied (publickey,password). ... etcetera until I interrupt it with CTRL-C. -- You are receiving this mail because: You are watching the assignee of the bug.
https://bugzilla.mindrot.org/show_bug.cgi?id=2118 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> --- what ssh implementation is "machine" running? ie what does ssh -v -o PreferredAuthentications=',' machine 2>&1 | grep "remote software version" give? -- 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.
https://bugzilla.mindrot.org/show_bug.cgi?id=2118 karoshism at mailinator.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from karoshism at mailinator.com --- (In reply to Darren Tucker from comment #1)> what ssh implementation is "machine" running? ie what does > > ssh -v -o PreferredAuthentications=',' machine 2>&1 | grep "remote > software version" > > give?Ok, this was a PEBKAC. Sorry for the noise. "ssh" on this system is really an alias to a wrapper script that was not prepared to manage that. -- 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.
bugzilla-daemon at bugzilla.mindrot.org
2016-Aug-02 00:41 UTC
[Bug 2118] ssh-copy-id hangs
https://bugzilla.mindrot.org/show_bug.cgi?id=2118 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Damien Miller <djm at mindrot.org> --- Close all resolved bugs after 7.3p1 release -- 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.
Reasonably Related Threads
- [Bug 1702] New: PreferredAuthentications setting doesn't work when spaces are used as documented
- What would cause keyboard-interactive packet connection close
- OpenSSH_6.7p1 hostbased authentication failing on linux->linux connection. what's wrong with my config?
- ssh -2 and hostbasedauth
- [Bug 1526] New: SSH key prompt if public key missing and pubkey auth fails