ssh fixes
various fixes