How to create PuTTY as a TCP/UDP Service with Automated Logins in PAM?

Document ID : KB000103707
Last Modified Date : 12/07/2018
Show Technical Document Details
Introduction:
How to create PuTTY as a TCP/UDP Service with Automated Logins in PAM?
Environment:
PAM 3.x
Instructions:
The PuTTY TCP/UDP should be configured as:
  • Ports: 22
  • Protocol: TCP
  • Application Protocol: SSH
  • Client Application: <PATH TO PuTTY> -ssh <Local IP> <First Port> -l <User>
Example:

"C:\putty\putty.exe" -ssh <Local IP> <First Port> -l <User>

Than this "PuTTY" service should have a "Target User" defined in your PAM Policy.