ssh segmentation faults