Bugfix for ssh with the new configs
more bugfixing to ssh due to new config styles