10
2
When I update my ssh config file so I can switch my current github account, the changes wont work properly unless I restart iTerm. I'm working on a script to automate the github account switch and I'd like to have the script reload the config settings in the updated config file. How can I achieve this?
3How, do you switch accounts? Do you use
ssh-agent
? Thessh_config
is read for every single invocation ofssh
. – Jakuje – 2016-11-23T08:44:14.440Can you give us more detail about the config file? Also, could you define different hosts for the different github accounts, and avoid the reloading problem? – JasKerr – 2016-11-24T02:45:18.360