Connect Using SSH

Connections using SSH is secured. This is the preferred connection method.

Before you begin

You must have the user credentials and the public key of the account used to connect to the remote RPKI server. The credentials and public key is usually provided by the administrator of the remote server. Only one (1) server can be configured in each RPKI Priority. Attempts to add more than one (1) server will result in error being thrown.

You must be within the RPKI priority context.

Procedure

Add the server's configuration information.
SLX(config-bgp-router-rpki-priority-1)# server ssh rpki.testsite.org username
                        rtr-ssh port 22 password-file "/root/.ssh/id_rsa"
                    
This command will only indicate errors while adding the remote RPKI server. No indication is provided if the server is configured successfully.

Example

The following example summarizes the commands in this procedure.

SLX# configure terminal
SLX(config)# router bgp 
SLX(config-bgp-router)# rpki priority 1
SLX(config-bgp-router-rpki-priority-1)#
SLX(config-bgp-router-rpki-priority-1)# server ssh rpki.testsite.org username rtr-ssh port 22 
        password-file "/root/.ssh/id_rsa"
SLX(config-bgp-router-rpki-priority-1)#