Hi there! On Thu, 09 Feb 2012 22:08:49 +0100, Luca Capello wrote: > --8<---------------cut here---------------start------------->8--- > Host = myimapserver.domain.com > Host = myimapserver-smd.domain.com > Hostname = myimapserver.domain.com > IdentityFile = ~/.ssh/id_rsa_smd > ControlMaster = no > Host = * > IdentityFile = ~/.ssh/id_rsa > HashKnownHosts = no > ControlMaster = auto > ControlPath = ~/.ssh/master_%r@%h:%p > --8<---------------cut here---------------end--------------->8--- > > > However, the ControlMaster option for myimapserver-smd.domain.com is not > honored: > ===== > $ ssh -v myimapserver-smd.domain.com > OpenSSH_5.9p1 Debian-2, OpenSSL 1.0.0g 18 Jan 2012 > debug1: Reading configuration data /home/luca/.ssh/config > debug1: /home/luca/.ssh/config line 75: Applying options for myimapserver-smd.domain.com > debug1: /home/luca/.ssh/config line 94: Applying options for *.domain.com > debug1: /home/luca/.ssh/config line 127: Applying options for * > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: /etc/ssh/ssh_config line 19: Applying options for * > debug1: Control socket "/home/luca/.ssh/master_luca@myimapserver.domain.com:22" does not exist > ===== Actually, after a private comment by Tanguy Ortolo (Bcc:ed), I discovered that simply removing the "Host = *" causes the last line above not to be shown, i.e. ControlMaster is obeyed. However, this also causes no ControlMaster at all for other connections, given that without the "Host = *" line the following settings are intended only for the last Ḧost =" definition (in my example above, myimapserver-smd.domain.com). Thus, I still think there is a bug in openssh-client. Thx, bye, Gismo / Luca
Attachment:
pgpXPlg3pqOi_.pgp
Description: PGP signature