How to create PuTTY as a TCP/UDP Service with Automated Logins in PAM?
The « -loghost » argument sets the PuTTY Window title to the device name configured in PAM for the device you are connecting to. If you don’t use this argument, all PuTTY sessions will show a connection to the local IP defined in the TCP/UDP service.