#1
|
|||
|
|||
Issue with Clone() in python
I have been using a python script to clone a session for awhile, and it has been working well (aside from not being able to control the order of tabs). Starting today, however, the ssh bastion I usually connect to has been replaced and I now get an error message when attempting to clone that tab ("ScriptError Error: Connection failed"). If I right click on the tab this script is cloning from, and click "Clone session", it clones it without any issues. However doing this in python is no longer working for me.
Does selecting "Clone session" from the right-click menu use ssh cloning, or does it do more that that? I am thinking either the new server does not support cloning (and doing so manually falls back to recreating a session) or there is another issue. Thanks! |
#2
|
|||
|
|||
Just an update:
After using SecureCRT a bit today without being able to use my login script, I am thinking when I right click on a tab and select "Clone Session", if ssh cloning is not enabled on the server SecureCRT must fall back to initiating a new session. I am noticing that when I right-click and choose clone, I am getting password & 2FA prompts that I am trying to avoid with cloning. If someone can validate my guess, I will appreciate it. That way i know if this is a server issue or not. Also, if anyone knows how to validate that from the ssh client in a shell, that would be cool as well (ssh -v is not saying anything about features/cloning/etc). |
#3
|
|||
|
|||
Hi dayde,
I would suggest enabling Trace Options output and then perform the manual steps. Does trace in the cloned session indicate a new connection being established?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Tags |
clone , python |
Thread Tools | |
Display Modes | Rate This Thread |
|
|