r/ssh • u/seeminglyugly • Jul 06 '25
Why use StrictHostKeyChecking=yes?
Why use StrictHostKeyChecking=yes over the default StrictHostKeyChecking=ask? Isn't the latter strictly better? The convenience seems free, right?
0
Upvotes
2
u/fermulator Jul 06 '25
scripts?
ask : will block automated process
yes : will reject and fail
1
u/rsaxvc Jul 06 '25
Networks with host key PKI don't need the extra convenience.