Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Record WEST's public key on EAST

This task pastes WEST's public key into RSA configuration. The name “WEST-key” is used as the identifier of the key.

Before you begin, copy WEST's public key into your clipboard. To obtain the public key for WEST, run the show vpn ike rsa-keys command on WEST.

If you are in operational mode on EAST, enter configuration mode now and perform the following steps:

Table 1. Record WEST's public key on EAST
Step Command

Specify a name for WEST's public key and paste WEST's public key into the configuration.

vyatta@EAST# set security vpn rsa-keys rsa-key-name WEST-key rsa-key 0sAQPEOQvukvkv1ofuO8gEKp7IFFZz4lQqMZyVMInoQKUU/T0iKSK/0NSH9Ldrr8yQUFayzKag6wM7ASXWXKyt0LS1Gn8tJVsjKGaOkFgLREtVJD3pRzoc7DSUOBViCD6f/TloTkPepRUtW1bmYev2H7tajSO0K0                                                                             rqu+7nlocZI0ppMAyF6CS+Wd5W1JBpVGL+EkKfyEl9RagKxRW82XJbgY4LG77K2YDN90Wd2GgMY3kf+YJLIzFEt/xRbh2/380FMpdaUYcbY31o/5PedUutJCK5RMwl+IJGaxrKf1OmCQfzXlkM09ijZx8kzPIlBk                                                                             5hulZrbUWjzBJdFcwFAyPM3yCuv3+ndFX00t3ZLfKu+/wX595J

Commit the configuration.

vyatta@EAST# commit

View the configuration for RSA keys.

Since you have not changed the configuration for the local host's key, it does not display.

vyatta@EAST# 
show security vpn rsa-keys

rsa-key-name WEST-key {

 rsa-key 
0sAQPEOQvukvkv1ofuO8gEKp7IFFZz4lQqMZyVMInoQKUU/T0iKSK/0NSH9Ldrr8yQUFayzKag6wM7ASXWXKyt0LS1Gn8tJVsjKGaOkFgLREtVJD3pRzoc7DSUOBViCD6f/TloTkPepRUtW1bmYev2H7tajSO0K0                                                                             rqu+7nlocZI0ppMAyF6CS+Wd5W1JBpVGL+EkKfyEl9RagKxRW82XJbgY4LG77K2YDN90Wd2GgMY3kf+YJLIzFEt/xRbh2/380FMpdaUYcbY31o/5PedUutJCK5RMwl+IJGaxrKf1OmCQfzXlkM09ijZx8kzPIlBk                                                                             5hulZrbUWjzBJdFcwFAyPM3yCuv3+ndFX00t3ZLfKu+/wX595J
 }


vyatta@EAST#