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 02-12-2015, 05:31 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 782
Example: Import Putty connections into SecureCRT saved sessions

Imports putty configurations into SecureCRT saved sessions.

jdev: 02-17-2017, 2:20pm : Added example to import from Super Putty. This requires you to have your super putty config saved to an XML file. Imports session name/path, hostname, protocol, and port.

The script attempts to automatically export existing putty configuration settings to a .reg file in your temporary folder. If this automated attempt fails, putty session info will need to manually be exported to a .reg file, as in running the following command within a CMD.exe shell window:
REG EXPORT HKCU\Software\SimonTatham\PuTTY\Sessions %USERPROFILE%\Documents\ptty.reg

The exported putty registry file is then parsed and SecureCRT sessions are created from supported configuration settings.

To ensure that any pre-existing sessions of the same name are not overwritten, imported sessions are stored in SecureCRT's Session Manager within a new folder named:
##_puttyImport(YYYYMMDD_HHMMSS.mmm)

A log file of the import operation is written to the Desktop folder for easy review.
Attached Files
File Type: txt ImportPuttyDatabaseIntoSecureCRTSessions.vbs.txt (32.6 KB, 2849 views)
File Type: txt ImportSuperPuttyDBIntoSecureCRTSessions.txt (10.3 KB, 862 views)
__________________
Jake Devenport
VanDyke Software
Technical Support
support@vandyke.com
http://www.vandyke.com/support

Last edited by jdev; 02-17-2017 at 03:23 PM. Reason: Added superputty import script
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:40 AM.