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: [email protected]
          Reporter: [email protected]

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@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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to