Fix up some of the SSH stuff