logging ssh session to a file