Fix ssh session