Improve logging of SSH output.