Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

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.

Note: We recommend that you use direct import only in a trusted network. This is to guarantee that on the initial fetch, no malicious system on the same network or in between performs a Man-in-the-middle attack.
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)