I have .ssh/config starting with
ControlMaster auto
ControlPath ~/.ssh/sockets/%C
ControlPersist 24h
ForwardAgent yes
ServerAliveInterval 60
AddressFamily inet
AddKeysToAgent yes
and end with
Host ssh.example.com
Hostname ssh.real.example.com
Port 32222
StrictHostKeyChecking No
UserKnownHostsFile /dev/null
ControlMaster No
ControlPath none
but it is still using ControlMaster and it is a huge problem. How do I fix this?
ssh_config
is used".Host
/Match
as separate "sections", in general – think of it as a single large config where some settings are filtered'. Follow these rules and you will be able to parse the config likessh
does.