VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   Scripting (https://forums.vandyke.com/forumdisplay.php?f=14)
-   -   Accepting Certificates in a script during SSH connect (https://forums.vandyke.com/showthread.php?t=10846)

PRZ 01-23-2013 11:41 AM

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

bgagnon 01-23-2013 12:03 PM

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.

PRZ 01-23-2013 12:19 PM

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. :)


All times are GMT -6. The time now is 06:09 PM.