Import of SSH current public key from the server
The SSH current public key can be directly imported from the server by means of the network. This method fetches the SSH public key of the server from the target server on the given network. The SSH public key fetch is only done once initially. The SSH public key then gets stored persistently in the SSH known hosts database.
vyatta@vyatta# set security ssh-known-hosts host 192.168.122.1 fetch-from-server
Adding key for 192.168.122.1 with fingerprint:
2048 60:9e:25:55:31:ee:c9:e9:73:a2:22:a8:18:b0:80:0e 192.168.122.1 (RSA)