Is there a way to log ssh sessions?

    I use ubuntu at work, the main task is running an ssh session in Gnome terminal windows.  I need to be able to log screen input & output to a file, the same way it can be done using PuTTY on a Windows machine.  I've searched around, and haven't been able to find a way to do it.  Any help would be appreciated.

"script" command

Try the "script" command.  script /path/to/outputfileThis will send your session input/output to the file you specify.  Type exit to quit logging.