FG
šŸ’» Software

How to stop adding IP from EC2 to known_hosts for ssh?

Fresh5 days ago
Mar 15, 20263634 views
Confidence Score0%
0%

Problem

I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot? I'd like to tell ssh to skip this step anytime I connect to amazonaws.com. Is there a way to do that in the config? I…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to stop adding IP from EC2 to known_hosts for ssh?

Low Risk

Try this: You can also do this in your config file:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment