The problem is that when connecting using a control socket, it's not printed the line like:
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 So the variable REMOTE_VERSION is not set. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1342412 Title: ssh-copy-id hangs when using ControlMaster auto To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/1342412/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs