Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 09-16-2020, 09:06 AM
pjano1 pjano1 is offline
Registered User
Join Date: Mar 2020
Posts: 7
Connect to Linux Local Shell through a script


I'm trying to use the function crt.Session.ConnectInTab to open a Local Shell session that doesn't already exist in Linux. Ideally, I'd also like to be able to name it custom so I can then open more than one Local Shell session, all named differently. I didn't create Local Shell sessions already because I would like to add the functionality of creating new sessions when they don't exist into my infrastructure

I've tried the following (and similar) commands:

tab = crt.ConnectInTab("/LOCAL <IP> <hostname>")

I keep getting the error "/LOCAL requires [localip:]localport:hostname:hostport" and I've tried including these options but I don't think I'm doing it right

Any idea how to do this properly? Is this something I'm able to do in SecureCRT?

Reply With Quote

linux , local shell , python

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 02:57 AM.