|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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.
![]() |
![]() |
Tags |
connect , ssh |
Thread Tools | |
Display Modes | Rate This Thread |
|
|