[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring the Router Running the JUNOS Software for Outbound SSH

To configure the router for outbound SSH:

  1. At the [edit system services ssh] hierarchy level, set the SSH protocol to v2:
    [edit system services ssh]
    user@host# set protocol-version v2
  2. Generate or obtain a public/private key pair for the router. This key pair will be used to encrypt the data transferred across the SSH connection. For more information on generating key pairs, see the System Basics Configuration Guide.
  3. If the public key will be installed on the configuration management server manually, transfer the public key to the configuration management server.
  4. Add the following outbound-ssh statement at the [edit system services] hierarchy level:
    [edit system services]
    outbound-ssh {
    client client-id {
    device-id device-id;
    secret secret;
    keep-alive {
    retry number;
    timeout number;
    }
    reconnect-strategy (sticky | in-order);
    services netconf;
    [ address ] {
    port destination-port;
    retry number;
    timeout number;
    }
    }
    traceoptions {
    file filename {
    files files;
    size size;
    match match;
    (world-readable | no- world-readable) ;
    }
    flag (all | configuration | connectivity );
    no-remote-trace;
    }
    }

    The attributes are as follows:

  5. Commit the configuration:
    [edit]
    user@host# commit


[Contents] [Prev] [Next] [Index] [Report an Error]