Fixed ssh bug