tab focus

avatar

Hi

I connected to one of terminal SSH session, if I try to open another, the tab page will change focus to last open one, is possible for me to stop this and the tab focus stay on where it is.

Thanks

All Comments (10)

avatar
Hi

I connected to one of terminal SSH session, if I try to open another, the tab page will change focus to last open one, is possible for me to stop this and the tab focus stay on where it is.

Thanks

Hi

I want to tell you that to prevent the tab focus from changing when opening a new SSH session, you can use the `ControlMaster` and `ControlPersist` options in your SSH configuration file (`~/.ssh/config`). Set `ControlMaster` to `auto` and `ControlPersist` to `no` to keep the tab focus on the current session.

avatar

Hello,

Thank you for your inquiry, wangjasonsz.

It appears you received a response from another party before I could address your question.

If you still require assistance with this issue, please feel free to contact us.

Thank you for your response, marcosandrew143.

Best regards,

Tommy Sanders

avatar

Hi, Tommy

Can you let me know where to apply those two options in SSH Shell settings in GUI? Thanks.

I am use SSH to manage network devices.

avatar

Hello wangjasonsz,

I appreciate your question.

Please follow the steps below to modify your SSH settings:

  1. Open the SSH configuration file by running the command: sudo nano /etc/ssh/ssh_config.
  2. Edit or add the ControlPersist and ControlMaster settings. Below is an example configuration:

Host 'Hostname'
Hostname 'example.com'
User 'username'
ControlMaster auto
ControlPersist no


3. Save the changes by pressing CTRL + O, and then exit by pressing CTRL + X.

Please do not hesitate to contact me if you have any further questions or require additional assistance.

Best regards,

Tommy Sanders

avatar

Hi, Tommy

I am not sure we are talking on same thing, I am talking about tab page in RDM, not the that in SSH terminal. When you open mutliple SSH entries in RDM, the tab page will switch from current window to last one, is anyway to fix this?

ba3705ec-3fd3-4993-9bfe-18c61796bd11.png

avatar

Hello Wangjasonsz,

I apologize for my misunderstanding earlier.

I will attempt to reproduce the issue on my end and will get back to you at the earliest opportunity.

In the meantime, could you kindly inform me of the current RDM version you are using?

Thank you.

Tommy Sanders

avatar

Hi,Tommy

I am use RDM version 2024.2.10. Thanks.

avatar

Hello,

Sorry for the delay.

I reached out to the developers regarding your issue since it did not occur on my end.

They suggested this document: https://docs.devolutions.net/rdm/kb/rdm-windows/troubleshooting-articles/session-focus-issue/.

Please let me know if it helps.

Best regards,

Tommy Sanders

avatar

Hi

I tried thsoe settings, they are not working.

The problem is like this:

  1. I opened first SSH session
  2. Then I click on 2nd or 3rd SSH session to open it, it may take couple of seconds
  3. Then I click back to first session
  4. 2nd session or 3rd session opened, the tab page will switch last open tab. But I want to keep tab focus on first one or what I am selected.


2nd case is like this:
when I open multi selected SSH sessions and try to open them, the tab always focus on last open one, is possible keep focus on what I am selected page.

Hope you can reproduce it in your environment.

avatar

Hello,

Thank you for your patience.

I am unable to recreate the issue you mentioned. To better understand and resolve your problem, I will send you an invitation for a session.

Best regards,

Tommy Sanders