💻 Software
How do I skip the "known_host" question the first time I connect to a machine via SSH with public/private keys?
Fresh5 days ago
Mar 15, 202675970 viewsConfidence Score0%
0%
Problem
How do I skip the "known_host" question the first time I connect to a machine via SSH with public/private keys?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do I skip the "known_host" question the first time I connect to a machine via SSH with public/private keys?
Low Risk
All the other current answers are missing the UserKnownHostsFile=/dev/null If you just want to do it once you can use: If you want to do it repeatedly you should add something like the following to your ~/.ssh/config To configure this on OpenSSH for…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix