It is possible to configure some connection options in the ~/.ssh/config
file.
It is also allowed to filter the parameters by machines and thus have differents rules.
An example:
Host *
User my_user
Port 2222
IdentityFile ~/.ssh/custom.private_key
ControlMaster auto
ControlPath ~/.ssh/control/%r@%h:%p
ControlPersist 10m