Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-08-2017, 03:26 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 782
Launch RDP or HTTP Connections from SecureCRT's Session Manager

This script example facilitates management of RDP, HTTPS, and HTTP connections from within SecureCRT's session manager. Currently designed to work only in SecureCRT for Windows.
  1. Download the script file and save it to the location on your local machine where it will always be available.

    Idea: Store the script file inside SecureCRT's configuration folder -- just inside the main "Config" level.

  2. Map a button on SecureCRT's button bar to run the script.


  3. Run the script.
    • The first time it runs, it will create three template sessions for you.


    • To create RDP, HTTP, or HTTPS sessions, simply double-click the template session for the protocol you desire, and you'll be prompted for the information associated with the machine/address you'd like to connect to. Then a session will be saved and automatically connected.


    • Alternatively you can run the script by clicking on the button you've created on the button bar, and the process will be the same, except you'll first be prompted to specify which protocol (RDP, HTTPS, or HTTP) you want to use.

    • If you desire to create a multiplicity of RDP/HTTP/HTTPS sessions in bulk, populate the clipboard with data like is demonstrated below, and then run the script by clicking on the button you've created.
      Code:
      http://www.vandyke.com/support 
      https://forums.vandyke.com/showthread.php?t=10365
      rdp://192.168.1.97
      rdp://192.168.1.143
      rdp://192.168.1.146
      rdp://127.0.0.1:33389

  4. Create RDP/HTTP/HTTPS sessions using the techniques described. New sessions are created in a folder that will appear in SecureCRT's session manager, named #_New_HTTP-RDP_Sessions (so named so that it appears near the top of the session manager).


  5. Feel free to move new sessions to the session manager folder location of your choice.

  6. Double-click a saved session to connect.

Enjoy!

--Jake

If you're looking for the legacy version of this example script (which was much more cumbersome to use/maintain), you can find it here.
__________________
Jake Devenport
VanDyke Software
Technical Support
support@vandyke.com
http://www.vandyke.com/support

Last edited by jdev; 09-20-2017 at 03:53 PM.
Closed Thread

Tags
example script


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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:53 AM.