Fixes ssh stuff.