Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17825

script for updating ~/.ssh/known_hosts -- Need Assistance --

$
0
0

I have a file which is a one per line list of hosts that is supposed to be a complete inventory of what we have in our environment, though I'm sure that some have been missed and some in the list no longer exist. What I need to do is to create a file which contains the public ssh key of each of these hosts which I will then add to the puppet module which we use to distribute this file to each of the hosts. The idea is that you should never get the "trust this host y/N?" prompt when ssh'ing to a host. Thoughts?

submitted by pupp3t33r
[link][3 comments]

Viewing all articles
Browse latest Browse all 17825

Trending Articles