![]() You can optionally specify your own key, if you don't want to use ssh-keyscan: ssh_known_hosts_entry '' do ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUs圜OV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJ元RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4圜E6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ= ![]() This will append an entry in /etc/ssh/ssh_known_hosts like this: # SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze1+github8 Use the LWRP ssh_known_hosts_entry to append an entry for the specified host in /etc/ssh/ssh_known_hosts. The Opscode partial_search cookbook is required for the default recipe, as well as a Chef Server that supports partial search: Should work on any operating system that supports /etc/ssh/ssh_known_hosts. You can also optionally put other host keys in a data bag called " ssh_known_hosts". The LWRP provides a way to add custom entries in your own recipes.The cacher recipe builds and maintains a data bag based on search indexes using rsa,dsa key types and ohai data. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |