PSM - UNIX SSH - how to change the number of lines in scrollbar
89
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:03 PM
Objective
How can I control the number of lines in the scroll bar of UNIX and have longer scroll bar with 2000 lines?
Environment
v7.0;v7.1;v7.2;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7
Procedure
You can control the parameters of the PSMSSHClient.exe (the component in the PSM that responsible for SSH connections) from the registry.
The attached is a file contain a definition of 2000 lines for scroll bar. The parameter to control this is called ScrollbackLines and the value should be in hexadecimal. For example in the attached file the value is 000007D0 which stands for the number 2000.
The attached is a file contain a definition of 2000 lines for scroll bar. The parameter to control this is called ScrollbackLines and the value should be in hexadecimal. For example in the attached file the value is 000007D0 which stands for the number 2000.
In v7.0 and higher, the connection client is run by a windows user that is mapped to a vault user that is requesting the session. That windows user is called shadow user. Each shadow user has it's own profile on the PSM server (Computer - Properties - Advanced System Settings - User Profiles - Settings). Customized putty settings must be configured under the default user profile of the PSM server so they can be used when new shadow users connect.
Do the following on the PSM server with Administrative rights:
- Go into Computer - Properties - Advanced System Settings - User Profiles - Settings. Delete all entries with PSM- and followed by numbers. Do not delete PSMConnect and PSMAdminConnect accounts.
- Copy the attached TESTv7.reg.txt file to the PSM server, renaming it to TEST.reg.
- Back up the registry of the PSM Server.
- Open the Microsoft Windows Registry Editor and load a new hive that points to the default user's NTUSER.DAT by selecting HKEY_USERS then in the File menu the option Load Hive. Browse to and open C:\Users\Default\NTUSER.DAT.
C:\Users\Default is a hidden directory, you may need to change the folder options to see hidden files and folder and show protected OS files. - Name the new hive TEST. The name TEST should be used as it is referring to a name in the provided reg file.
- Merge (or run) the attached TEST.reg file from this solution. The simplest way is by double clicking on the TEST.reg file.
(If you named your hive something other than TEST update the registry location name in this file to match) - You will now see in the TEST hive in RegEdit and new keys in HKEY_USERS/Software/SimonTatham/PuTTY/Default%20Settings. Here you can make additional changes to the Putty settings.
- Once you've completed your changes Select the hive name under HKEY_Users then unload it by selecting from the File menu the option Unload Hive. You will see the TEMP hive is gone. The changes are applied to the NTUSER.DAT file so new profiles will use the settings.
- Try the SSH connection. The new settings are inherited.
These steps apply for windows 2008 R2 and for windows 2012 R2 PSM installation.
Additional Information
Details
Q:How can I control the number of lines in the scroll bar of UNIX and have longer scroll bar with 2000 lines?
A:
You can control the parameters of the PSMSSHClient.exe (the component in the PSM that responsible for SSH connections) from the registry.
The attached is a file contain a definition of 2000 lines for scroll bar. The parameter to control this is called ScrollbackLines and the value should be in hexadecimal. For example in the attached file the value is 000007D0 which stands for the number 2000.
The attached is a file contain a definition of 2000 lines for scroll bar. The parameter to control this is called ScrollbackLines and the value should be in hexadecimal. For example in the attached file the value is 000007D0 which stands for the number 2000.
In v7.0 and higher, the connection client is run by a windows user that is mapped to a vault user that is requesting the session. That windows user is called shadow user. Each shadow user has it's own profile on the PSM server (Computer - Properties - Advanced System Settings - User Profiles - Settings). Customized putty settings must be configured under the default user profile of the PSM server so they can be used when new shadow users connect.
Do the following on the PSM server with Administrative rights:
- Go into Computer - Properties - Advanced System Settings - User Profiles - Settings. Delete all entries with PSM- and followed by numbers. Do not delete PSMConnect and PSMAdminConnect accounts.
- Copy the attached TESTv7.reg.txt file to the PSM server, renaming it to TEST.reg.
- Back up the registry of the PSM Server.
- Open the Microsoft Windows Registry Editor and load a new hive that points to the default user's NTUSER.DAT by selecting HKEY_USERS then in the File menu the option Load Hive. Browse to and open C:\Users\Default\NTUSER.DAT.
C:\Users\Default is a hidden directory, you may need to change the folder options to see hidden files and folder and show protected OS files. - Name the new hive TEST. The name TEST should be used as it is referring to a name in the provided reg file.
- Merge (or run) the attached TEST.reg file from this solution. The simplest way is by double clicking on the TEST.reg file.
(If you named your hive something other than TEST update the registry location name in this file to match) - You will now see in the TEST hive in RegEdit and new keys in HKEY_USERS/Software/SimonTatham/PuTTY/Default%20Settings. Here you can make additional changes to the Putty settings.
- Once you've completed your changes Select the hive name under HKEY_Users then unload it by selecting from the File menu the option Unload Hive. You will see the TEMP hive is gone. The changes are applied to the NTUSER.DAT file so new profiles will use the settings.
- Try the SSH connection. The new settings are inherited.
These steps apply for windows 2008 R2 and for windows 2012 R2 PSM installation.