[Bug 2118] New: ssh-copy-id hangs

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jun 5 21:06:59 EST 2013


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.


More information about the openssh-bugs mailing list