Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2018, 03:59 PM
alexj212 alexj212 is offline
Registered User
 
Join Date: Mar 2009
Posts: 8
Linux Version Command Line Options

Is there an option to launch securecrt and open a local shell?

Also is there a way to launch securecrt so that if there is an existing instance running it will add a session to the current tabs?

Thanks in advance
Reply With Quote
  #2  
Old 08-06-2018, 04:14 PM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 559
Hi alexj212,

To get a better idea of the options available to you I will need to get a little more information. What version of SecureCRT are you running (Help > About SecureCRT or SecureCRT > About SecureCRT)? What Operating System are you running SecureCRT on?

Are you wanting SecureCRT to automatically open a local shell every time you open the application?

Can you tell me a little more about how you are launching SecureCRT when you see multiple instances? Are you using a shortcut, command line, web links?
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 08-06-2018, 04:24 PM
alexj212 alexj212 is offline
Registered User
 
Join Date: Mar 2009
Posts: 8
I am running on ubuntu linux. Basically I changed the default key binding of the OS to StartKey + T to launch a terminal.

When I do that I would like to launch a terminal open to the local shell. So I was looking to pass options on the command line to open a terminal to the local shell. I did not find that option under the command line options.

Also what I was asking is if an instance is running on the system, and I launch another instance via command line, is it possible to just bring up the existing instance to the forefront and open a new tab to the session specified such as the local shell.

Thanks
Reply With Quote
  #4  
Old 08-06-2018, 04:54 PM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 559
alexj212,

To have the local shell automatically open you will first want to create a new session using the Local Shell protocol. After creating this session navigate to Options > Global Option > Default Session. Here you will want to enable the Use auto session option and Add... the newly created Local Shell session.

This should automatically open a local shell anytime you launch SecureCRT. Does this get you the desired behavior?

From the command line you can use the /T option to open a session in a new tab. When used in conjunction with the /S options, the /T option opens the specified session or sessions in a separate tab or tabs. For example, the command:

Code:
/T /S ubuntu
opens session ubuntu in a new tab. You may be able to get the behavior you're looking for by mapping your StartKey + T shortcut to something like the following.

Code:
SecureCRT /T /S <name of your local shell session>
Does this help?
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 08-06-2018, 04:59 PM
alexj212 alexj212 is offline
Registered User
 
Join Date: Mar 2009
Posts: 8
Yes SecureCRT /T /S localshell

worked once I created a session with that name.

Thanks
Reply With Quote
  #6  
Old 08-06-2018, 05:04 PM
ekoranyi ekoranyi is offline
VanDyke Technical Support
 
Join Date: Jan 2017
Posts: 559
alexj212,

I'm glad to hear that gave you the desired behavior.

Have a great rest of the day.
__________________
Thanks,
--Eric

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 09:22 AM.