Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > General

Thread Tools Display Modes
Old 07-10-2018, 03:26 AM
pavdem pavdem is offline
Registered User
Join Date: Jul 2018
Posts: 1
SecureCRT options

How can I add the following "optional switches" on a secureCRT session, that we currently use extensively with the ssh.

ssh admin@ -t -s cli

-s subsystem
Invokes the specified subsystem on the remote system. Subsystems are a feature of the Secure Shell protocol which facilitates the use of Secure Shell as a secure transport for other applications (such as sftp). Subsystems must be defined by the Secure Shell server.

Forces a tty allocation even if a command is specified. You can also configure this in the configuration file using the ForcePTTYAllocation keyword.
Reply With Quote
Old 07-10-2018, 07:38 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 3,557
Hi pavdem,

You would use the Remote command field available in the Connection / Logon Actions category of Session Options:

Remote command

Enter the command that you want SecureCRT to instruct the remote machine to run when a connection is made. If the remote command is prefixed with subsystem::, the command will be executed as a subsystem.

Note: The remote command is the only command that the session will run. Once the command exits, the session will disconnect.
However, as noted above, the session disconnects after running the remote command.

What role do these options play in your SSH session?

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote

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:33 AM.