Fix ssh session check - ssh is on non-standard port