No Numlock in SSH Session

avatar
johannes
Disabled

Hello,

i am currently using Remote Desktop Manager Free for SSH sessions.
When I start a SSH connection I can't use my numlock even if it is activated on the keyboard.

Could you please help me with this problem?

Best regards
Johannes

All Comments (22)

avatar

Hello,

What type of SSH session are you using? SSH Shell or SSH Shell (rebex)?

Could you post a print screen of the properties of your session.

Best regards,

Jeff Dagenais

avatar

Hello,

I am using SSH Shell (see Screenshots attached for properties of the session).
When I am using SSH Rebex my Numlock is working fine.

Best regards
Johannes

PS: By the way, I am using a Surface Pro 4 with Windows 10 Anniversary Update. Just for info.

screen8.png

screen7.png

screen6.png

screen4.png

screen3.png

screen2.png

screen1.png

avatar

Hello,

Thank you for all the print screens.



In the Terminal tab of your session, could you change the Application Keypad mode to Disable.

This should do the trick.

Best regards,

Jeff Dagenais

avatar

Hello,

thanks for your support!
This was the right solution!

Best regards
Johannes

avatar

Hello,
this solution does not work in Remote Desktop Manager 11.7.3.0 in SSH sessions.
Could you please help me with this problem?


Best regards
Miroslav

avatar

@Miroslav Cipel,

Are you using SSH Shell or SSH Shell (rebex) session?

Are you using RDM 32 or 64 bit?

Best regards,

Jeff Dagenais

avatar

Hello,

I've been unable to reproduce your issue using RDM 11.7.3.0. Could you export an entry without the host and credentials and link it here so I can see the settings?

If you can give us any further information like the kind of terminal you connect to or if you use the numpad in an application, this would be helpful.

Regards,

Hubert Mireault

avatar

Hello,
step to reproduce:


1. create new session - Edit/New Entry/Add Session/SSH Shell
2. in the General tab fill Name, Host, Username, Password
3. in the Terminal tab "Application keypad mode" change to disable
4. Open new session and try keypad - this is OK
5. run nano or mcedit and try some numbers on keypad - does not work


Best regards
Miroslav

avatar

Hello,

Could you see if toggling on/off the numlock changes the behavior while the application keypad mode is disabled?

Our integration of SSH is based on PuTTY. This is how the application keypad mode functions: https://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter4.html#config-appkeypad

Regards,

Hubert Mireault

avatar

Hello,

just said this issue is solved a few weeks ago, but still got the same error as Miroslav.
Numlock works fine when I am in a ssh session but when I use nano it uses the arrwo key function and no number is written.
Even if I activate and deactivate the numlock in the nano editor again, it is still using the arrow key functions and not the numbers.

Best regards
Johannes

avatar

Thank you for the feedback.

Unfortunately then, for the moment we cannot do anything. It seems that perhaps the application itself (nano, etc) force the keypad to send commands rather than numbers. We will keep that on our todo list but we can't promise a time frame for a fix / a new option that helps this issue.

Regards,

Hubert Mireault

avatar

Hello,

thank you for info - any workaround?

Best regards
Miroslav

avatar

There is currently no known workaround for the issue on RDM's end, as even with our third party this is not possible with the options we are given.

Certain applications like emacs or vim allow you to change how they behave in reaction to the keypad: http://vim.wikia.com/wiki/PuTTY_numeric_keypad_mappingshttps://kb.iu.edu/d/axpf
This is the only workaround that works at the moment.

Regards,

Hubert Mireault

avatar

Is there a way to batch edit the Application Keypad modeto Disable?

We have almost 200 switches, routers, Servers, and wireless lan controllers as SSH.

avatar

@Network Admin

This is possible using our Batch Edit feature. Select all your SSH Shell sessions and click on Edit -> Batch Edit -> Batch Actions -> Custom PowerShell Command and enter the following script:

$connection.Terminal.DisableKeypadMode = "false"
$RDM.Save();

Best regards,

Jeff Dagenais

avatar

@Jean-François Dagenais

I like the option you've given me, but get an error when executing. Same error for all 224 objects:


RouterName.local:
The property 'DisableKeypadMode' cannot be found on this object. Verify that the property exists and can be set.
At line:1 char:1
+ $connection.Terminal.DisableKeypadMode = "false"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: InvalidOperation: (:) [], RuntimeException

avatar

@Network Admin

My script was created using RDM 12.0.10.0, sorry about that. If you are using an older version like RDM 12.0.5.0 or 12.0.8.0, the script will be the following:

$connection.Terminal.KeypadMode = "Disable"
$RDM.Save();

Best regards,

Jeff Dagenais

avatar

Worked perfectly. Much appreciated.

avatar

Your SSH Shell with connecting.
Right Click-> Properties

General->Terminal->General->Initial keypad mode Normal
for Versiyon 4.6.0
The problem is improving

Other method


To apply in the program;
File-> Options-> Types-> Terminal-> Disable application keypad mode must be true

avatar

@Murat Caliskan,

What is your issue exactly?

What version of RDM are you running?

Best regards,

Jeff Dagenais

avatar

Your SSH Shell with connecting.
Right Click-> Properties
Versiyon 4.6.0

avatar

@Murat Caliskan,

Sorry for the late reply, but with your last post, I still don't understand your issue.

Could you elaborate on that matter please?

Best regards,

Jeff Dagenais