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.

Configuration example: public key loaded from a local file

A public key can be loaded from a local file using:

security ssh-known-hosts host [ hostname ] load-from-file [ file ]

where the file is a plain-text file holding the SSH public-key as generated by the ssh-keyscan command. (<server address> <key type> <base64 encoded key>)

vyatta@vyatta# set security ssh-known-hosts host 192.168.122.1 load-from-file ~/192.168.122.1.pub
  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)