When we open putty/ssh session from CA PAM tool, it will display host name on top of the putty.
If there are 10 opened putty sessions, it is difficult to identify which is which server.
So, please let us know is there a way to configure to display IP address of the server instead of host name on top of putty/ssh sessions opened from CA Application.
Hello Harshitha, I am a bit confused about your question. You say that the PuTTY windows display the host name instead of the IP, which commonly would be regarded the preferred method since it is easier to recognize hosts by name rather than IP. I suspect your problem is that you don't have the target device name in the PuTTY sessions launched from PAM, but the local IP to which PAM makes the PuTTY client connect. If that is your problem, you should update the Client Application string in the TCP/UDP service you have defined in PAM. I use the following string:
"C:\Program Files (x86)\PuTTY\putty.exe" -ssh <user>@<Local IP> <First Port> -loghost <Device Name>
The "-loghost <Device Name>" argument results in the target device name being shown in the PuTTY Windows title: