View Single Post
  #2  
Old 08-31-2015, 10:08 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,119
Hello Kevin,

Yes, similar to how you use crt.Session.Connect() to connect to a session, you can also use it to make an ad hoc connection. The arguments you include when making the Connect() call can include most of the same options available to command-line connections.

For example:

Code:
crt.Session.Connect("/Firewall=FW_name /SSH2 /PASSWORD p@$$w04d user@host")
The command-line options are documented in the Using the Software / Command-Line Options topics in SecureCRT's Help file. Note that the order is equally important when using these arguments with the Connect() method. The standard options come first, followed by the protocol-specific options.
__________________
Thanks,
--Brenda

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