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 01-23-2013, 11:41 AM
PRZ PRZ is offline
Registered User
 
Join Date: Jan 2013
Posts: 4
Accepting Certificates in a script during SSH connect

I was wondering if it is possible to have the host certificate automatically accepted when opening an SSH connection with a script. I realize that if I save the certificate on first connection I am not asked to accept it again, but the volume of devices I am dealing with and the need for the script to be portable make any sort of manual process impossible...

Thanks
Reply With Quote
  #2  
Old 01-23-2013, 12:03 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,046
Hi PRZ,

As long as you understand the security implications ...

You would add the /ACCEPTHOSTKEYS option to your connection string.

Also see the SecureCRT help topic Using the Software / Command-Line Options / Table of Protocol-Specific Command-Line Options.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 01-23-2013, 12:19 PM
PRZ PRZ is offline
Registered User
 
Join Date: Jan 2013
Posts: 4
Thanks! I was reading the scripting guides, which didn't mention all the connection options. And yes, I am aware of the implications - doom should be minimal.
Reply With Quote
Reply

Tags
connect , ssh


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 12:31 AM.