fixes into ssh for simple ssh with gateway