VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Accepting Certificates in a script during SSH connect (

PRZ 01-23-2013 10: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...


bgagnon 01-23-2013 11:03 AM


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 11:19 AM

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 08:21 PM.