How to Configure a Custom SSH port using the Putty Login Application
search cancel

How to Configure a Custom SSH port using the Putty Login Application

book

Article ID: 20804

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

Description:

By default using the PUTTY.vbs as the login application uses port 22. This is the default SSH port. This document describes what needs to be modified in order to use a custom port.

Solution:

In order to use a custom port with the Putty.vbs script the following file needs to be modified:

\jboss-4.2.3.GA\server\default\deploy\IdentityMinder.ear\config\sso_scripts\PUTTY.vbs 

There are two lines what start with "DIM" After these two lines there is the following line:

Set pupmObj = CreateObject("ACLauncher.ACWebLauncher") 

ADD the following line after the line above:

pupmObj.SetPUTTYOption "PortNumber", "REG_DWORD", "<Your_custom_port_number>" 

This should result in the following sequence of lines:

Set pupmObj = CreateObject("ACLauncher.ACWebLauncher") 
pupmObj.SetPUTTYOption "PortNumber", "REG_DWORD", "<Your_custom_port_number>" 
hwnd = pupmObj.LaunchePUTTY("#host#","#userName#", "#password#") 

Save the file

Note: the "PortNumber" name comes from the registry values in Putty. An example path to PUTTY settings:

HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Default%20Settings 

Environment

Release:
Component: SEOSPP