Add SSH public keys to known_hosts. For more information on Droid, please see droidphp.com.
The steps involved are:-
- Create
~/.ssh/known_hosts
if it does not exist. - Add a list of public keys to
known_hosts
. - Hash any unhashed entries in
known_hosts
. - Remove the
known_hosts.old
generated in the previous step.
- The platform is Debian-based.
None.
-
A list of one or more entries for the
known_hosts
file:variables: third_party_public_ssh_keys: - [<string>, <string>] - ...
The first string in an entry should be the host name and IP address of the SSH host and the second string should be its public key, for example:-
["github.com,192.30.253.112", "ssh-rsa AAAA..."]
None.