#1
|
|||
|
|||
Auto-reconnect, tab close on logout
Hi,
A couple of days ago I installed SecureCRT-8.5.0-1689 (yes I know it's beta) and since then there's one thing that keeps annoying me. (I reinstalled Windows and forgot to backup the SecureCRT config so had to start from scratch.) In previous versions of SecureCRT when I pressed Ctrl-d (exit), the Linux shell logs out and the tab is closed. Now I get a message saying "Press Ctrl+C to cancel or Enter to reconnect immediately", and then it reconnects when I'm not fast enough. I searched around and found post #10428. I skipped the key/button mapping part because it feels like a workaround that I believe I should not need. My global.ini says: D:"Auto Reconnect"=00000000 D:"Close on Disconnect"=00000000 GUI-wise: - "Auto reconnect" is unchecked in the Global options. - "Close on Disconnect" is checked in the Session options. Unless I'm misunderstanding these I'd expect SecureCRT to NOT auto-reconnect and close the tab when logging out of the shell. How do I get this behavior back? Thanks.. |
#2
|
|||
|
|||
Hi r.sterenborg,
I cannot replicate those results. I still get the expected behavior with a default configuration in SecureCRT. What specific Windows OS is SecureCRT installed on? Does this occur to all Linux hosts you connect to?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Hi Brenda,
I'm on Windows 10 build 1803. I have this on all configured hosts. (Which is only logical because I configured them all at once by using the top folder.) For testing I renamed Global.ini and started SecureCRT to generate a new file. I connected to a host, logged out, and got the auto-reconnect message presented. Global.ini has: D:"Auto Reconnect"=00000000 I checked the ini file for one of the sessions, and it has: D:"Auto Reconnect"=00000001 Would that be the reason? Could it be that the session settings inherited this when I imported the sessions from CSV? Maybe I checked in the wrong place, but I didn't find a way to correct this in the session setting? |
#4
|
|||
|
|||
I changed the session ini file to have:
D:"Auto Reconnect"=00000000 And that fixed the problem. Is there a way to change this in SecureCRT in bulk? Otherwise I'm going to bulk edit the session files. Thanks.. |
#5
|
|||
|
|||
HI r.sterenborg,
Yes, in fact, we don't recommend you edit the INI file when the option *is* exposed in the GUI. ![]() Auto Reconnect is a tri-state option, meaning it is found in both Global Options and Session Options. When it's a filled box within Session Options (Terminal category) it means the Global Option configuration takes precedence. Otherwise, it can be a cleared box (disabled) or checked (enabled) at the session level. You can employ the power of editing the Default session to make these changes to all of your existing and future sessions. Here are some links to tips and a video that provide more details about using the Default session to make mass changes to multiple sessions:https://www.vandyke.com/support/tips/defaultset.htmlNote: In order for a "change" to be applied to all other sessions, the Default session's option/field you're targeting must actually be modified/different from its current value. This means that if the targeted field you want to apply to all other sessions is *already* set to the value you want, you must first change it to something *different* (and apply that "change") and then edit the Default session again to set the option to its *desired* value (and apply that "change").
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 Last edited by jdev; 07-13-2018 at 10:49 AM. |
#6
|
|||
|
|||
Hi r.sterenborg,
Quote:
Correct, per the notes in the script, there are some "desirable options" that are enabled for you. Here's the relevant section in the VBScript version: Quote:
objConfig.SetOption "Auto Reconnect", TrueAnd Python version of notes: Quote:
objConfig.SetOption("Auto Reconnect", True)
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#7
|
|||
|
|||
Hi Brenda,
Yes, sorry, I should have mentioned I used the ImportArbitrary script. Well, then I guess that explains everything. I'll be checking things out on Monday to get it corrected. Thanks for the help! |
![]() |
Thread Tools | |
Display Modes | |
|
|