View Single Post
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