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 Server Team, which is subscribed to openssh in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs