Fix ssh sudo hang