Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-09-2016, 06:51 PM
WizardXL883C WizardXL883C is offline
Registered User
 
Join Date: Feb 2011
Location: Jacksonville, FL
Posts: 9
Import Session Password

I have an excel file/vba that will generate a CSV based on the list of site numbers that I input on sheet 1. It basically takes the site numbers I enter, performs vlookups on the IP subnet and generates a session for each host at that site and moves on to the next site. It saves the output as a MyDocuments\SecureCRT_Session_Import.csv. I do not want to keep several thousand sites in my sessions list all the time, only the ones in my change batch so I delete them at the end of the week.

I have been using Import Arbitrary Data From File To SecureCRT Sessions script to import sessions and have added a Case Firewall and variable using the "objConfig.SetOption "Firewall Name", strFirewall" string.

This has been working well but my team has asked me to add the ability to import the password as well so that they don't need to edit the parent session folder to save the password to all imported sessions as an extra step. I haven't been able to find if there's something I can use. Is there something like "objConfig.SetOption "Password"" or "objConfig.Authentication "Password" or anything I can use?

Thanks,
Nick
Reply With Quote
  #2  
Old 11-10-2016, 08:51 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,322
Hi Nick,

It may be possible, but since this discussion is about sensitive data, I'd prefer to take it out of the public forums.

Please send an email to support@vandyke.com and reference "Attn Brenda - Forum Thread #12534" in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 05-15-2020, 08:37 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,322
Hi all,

It is generally not a security "best practice" to save passwords.

If you do choose to save passwords, consider applying them by either editing all sessions using Default session approach or many sessions using the edit multiple sessions approach instead of possibly exposing them in a file you are importing.

To drill down to where passwords are stored:
  • Go to Connection / SSH2 category.
  • In the Authentication grouping, select/highlight Password.
  • Press the Properties... button.
  • Enable Store password and enter it twice.
__________________
Thanks,
--Brenda

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

Last edited by bgagnon; 05-15-2020 at 09:34 AM.
Reply With Quote
Reply


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 06:49 AM.