I want to connect to a host via SSH but I don't want the hostname to be added to my ~/.ssh/known_hosts
.
How can I do that?
hostsssh
I want to connect to a host via SSH but I don't want the hostname to be added to my ~/.ssh/known_hosts
.
How can I do that?
Best Answer
If you want this behavior because you're working with cloud servers (AWS EC2, Rackspace CloudServers etc.) or you're constantly provisioning new images in Vagrant you may want to update your SSH config instead of adding bash aliases or more options on the command line.
Consider adding something like: