Importing hosts into SecureCRT

I have always tried to use something like this in the past, but with no luck, by digging a bit deeper into it I found how to import hosts into SecureCRT.

This is the Link that goes over the process of importing data and what is relevant for the import:

https://www.vandyke.com/support/tips/importsessions.html

For Python or VBS here are the scripts:

https://forums.vandyke.com/showthread.php?p=37089#post37089

Here a quick sample of the data and how needs to go, I used the Python script, I decided not to use the .csv format, instead, I used .txt to save my data

Data Example:


session_name,hostname,username,folder,emulation,protocol
cloud-services,198.18.1.100,cisco,_MYFOLDER,VT100,SSH2
internet,198.18.1.202,cisco,_MYFOLDER,VT100,SSH2
mpls,198.18.1.201,cisco,_MYFOLDER,VT100,SSH2
anira,198.18.1.203,cisco,_MYFOLDER,VT100,SSH2
miami,198.18.1.111,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.112,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.113,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.114,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.115,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.116,cisco,_MYFOLDER,VT100,SSH2
session_name,198.18.1.117,cisco,_MYFOLDER,VT100,SSH2

 

The rest is just to add a Script button to your status bar and trigger the import. It was not difficult at all.

Update SecureCRT sessions from SolarWinds

This post just gets better and better, thanks to the addition of John Anderson:

I modified the stock SecureCRT script to work with the SolarWinds Orion SDK so that we can regularly pull sessions directly from Orion rather than having to import/export.

I posted it to Github in case anyone finds it useful:
https://github.com/jeanders/networkscripts/blob/master/update_securecrt_sessions_from_solarwinds.py

What to Look Forward to?

One of my tools and one of the things I wanted to record and share –> Feel free to contact me if you have any question like always, also feel free to share

About the Author:

Andres Sarmiento, CCIE # 53520 (Collaboration)
With more than 13 years of experience, Andres is specialized in the Unified Communications and Collaboration technologies. Consulted for several companies in South Florida, also Financial Institutions on behalf of Cisco Systems. Andres has been involved in high-profile implementations including Cisco technologies; such as Data Center, UC & Collaboration, Contact Center Express, Routing & Switching, Security and Hosted IPT Service provider infrastructures.

You can follow Andres using Twitter, LinkedIn or Facebook

4 thoughts on “Importing hosts into SecureCRT”

Leave a Reply to jeanders21 Cancel Reply

Your email address will not be published. Required fields are marked *

Scroll to Top