Good day all,
Please can you assist, I am trying to create a for loop to login to routers, load a script and logout all of this via SSH. The problem I am getting is I have 1500 routers I have to login to and I am getting a prompt to allow the fingerprint of the router and allow it.
Is there any way to bypass this Strict Host Key Checking and automatic accept it log in, load the scrip and log out.
I am using the plink.exe client. My code is below
plink.exe -ssh -batch ****@x.x.x.x -pw *** < "%~dp0cmd.txt"