Editing
SSH Host Key Management
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Usage == With the '''host_update''' script in place in a central host (aslan currently) and the '''host_check''' script installed in each host, any change to the master '''hosts''' file will get propagated within two hours (depending on the synchronization between the hourly cron jobs on each host). For the two use cases, these procedures must be followed for this propagation to occur: ; New Host : Simply add a new line to the master '''hosts''' file and either wait for the updates to occur or manually regenerate the '''known_hosts''' file by issuing the command: : <pre>sudo ./host_update.sh -f</pre> ; Reinstall host with new host keys : Since the automated update is triggered on the modified date of the master '''hosts''' file, you can '''touch''' the file to update the modification date and the update will be triggered. You can also force the update as above. There is no way to manually trigger the propagation to all the other hosts; but if one particular host is needed, log into the host from ''another'' system and issue the command: sudo /etc/cron.hourly/host_check That will force the update for the host that is needed immediately; the other will catch up when the cron job runs.
Summary:
Please note that all contributions to WilliamsNet Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WilliamsNet Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Commons
Architecture
How-To
Systems
Hardware
SysAdmin
Kubernetes
OpenSearch
Special
Pages to create
All pages
Recent changes
Random page
Help about MediaWiki
Formatting Help
Tools
What links here
Related changes
Special pages
Page information