Fixed ssh in and out