Added helper function to switch ssh configs when in proxy mode