PAM allows the inclusion of several applications as TCP/UDP Services to be invoked from within its environment and control the access to the devices through these applications.
This document explains how to add PuTTY as a PAM service.
Layer 7 Privileged Access Management
Most of the external applications configured as PAM TCP/UDP services, do not support session recording.
For PuTTY the session recording is supported.
For checking the command line parameters for PuTTY please visit:
3.8.3 PuTTY STANDARD COMMAND-LINE OPTIONS