[Bug 2886] New: ssh-copy-id appears to hang indefinitely when ssh multiplexing is enabled, and it permits passwordless login

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 24 19:28:15 AEST 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2886

            Bug ID: 2886
           Summary: ssh-copy-id appears to hang indefinitely when ssh
                    multiplexing is enabled, and it permits passwordless
                    login
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh-copy-id
          Assignee: unassigned-bugs at mindrot.org
          Reporter: ahmet.mercan at serbestinternet.com

After a recent successfull login to an openssh-server, if you use
ssh-copy-id command with multiplexing enabled ssh client, it hangs
indefinitely, and Ctrl-C can't terminate the command.

Ssh client's .ssh/config file is set as:

Host *
ControlMaster auto
ControlPath ~/.ssh/sockets/%r@%h-%p
ControlPersist 30


Furthermore, if you try to login same server within the above timeout
duration, you can successfully login without password. But weirdly, no
authorized_keys file is created on the remote server.

Our ssh client is openssh-clients-6.6.1p1-25.el7_2.x86_64 on Centos
7.2.

Ssh servers which we successfully login to without passwords are
openssh-server-7.4p1-11.el7.x86_64 (Centos 7.4),
openssh-server-7.4p1-16.el7.x86_64 (Centos 7.5),
openssh-server-5.3p1-123.el6_9.x86_64 (Centos 6.10). Ssh-servers are at
default settings set by distribution installers.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list