Displaying 1 result from an estimated 1 matches for "ssh_control_".
2015 Apr 15
2
[Bug 2383] New: ssh-copy-id hangs when already connected with connection sharing
...ed attachment 2587
--> https://bugzilla.mindrot.org/attachment.cgi?id=2587&action=edit
ssh-copy-id-connection-sharing-hang.patch
If I successfully ssh into somewhere and then try to use ssh-copy-id,
it just hangs.
I have this in my .ssh/config:
ControlMaster auto
ControlPath /dev/shm/ssh_control_%h_%p_%r
ControlPersist 3600
It's because of this line in ssh-copy-id:
REMOTE_VERSION=$(ssh -v -o PreferredAuthentications=',' "$@" 2>&1 |
sed -ne 's/.*remote software version //p')
Because of the connection sharing, this doesn't fail, but...