Session logging

avatar

Can someone tell me if ssh session logging has been removed?

I remember it used to be at the top of the screen, little icon to tell it where to log and another to turn it on or off, great for dumping configs out to a file, for the life of me I can't seem to find it now, remember last using it about a year ago, I think unless I'm just imagining it was a feature.

All Comments (5)

avatar

Hello,

To see the Stop Logging button, the Log settings must be enabled.

You can enable it from the toolbar.

forum image

Or in the Logs tab of the SSH properties.

forum image

Let me know if that helps.

Best regards,

Érica Poirier

avatar

Weird, those were the icons that were no longer displaying for me, ended up updating the software and they are now displayed.

All I had previously was "copy all text" "Clear scrollback" and "reset terminal"

avatar

Hello,

Thank you for your feedback and glad that the upgrade to the latest version helps to solve your issue.

Best regards,

Érica Poirier

avatar

Is it possible to enable session logging gobally? For all sessions, each writing its own logs to a dedicated fil;e int eh same folder? Same as putty does?

Thanks

avatar

Hello,

Thank you for your swift reply!

To enable the session logging globally, you could run the "Custom PowerShell Script" below on your entries.

Please note that I would recommend making a backup of your entries first and then trying to run the script on a single SSH Shell to see the result. If it suits your need, you will then be able to run it on the rest of your SSH entries.

$connection.Terminal.EnableLogging = "true"; 
$connection.Terminal.LogMode = "AllPrintableOutput"; 
$connection.Terminal.LogPath = "C:\Temp\$NAME$.log"; 
$RDM.Save();


This script will enable the logging, set the log mode to "All Printable Output" and create a log file under the path configured that will use the name of your SSH entry as its name. Please note that if you would like to use a different path, you can simply replace the one I have used in the script.

To run this script on your entries, please do the following:

1- Select 1 or more entries -> Right-click -> Edit -> Edit (Special Actions) forum image

2- Select "Custom PowerShell Command
forum image

3- Paste the script I mentioned above in the window below:
forum image

Let me know if that helps!

Best regards,

James Lafleur