Fix issues with ssh