outbound-ssh
Syntax
outbound-ssh { client client-id { address { port port-number; retry number; timeout seconds; } device-id device-id; keep-alive { retry number; timeout seconds; } reconnect-strategy (in-order | sticky); routing-instance routing-instance-name; secret password; services netconf; } traceoptions { file <filename> <files number> <match regular-expression> <size size> <(world-readable | no-world-readable)>; flag flag; no-remote-trace; } }
Hierarchy Level
[edit system services]
Description
Configure a device running the Junos OS behind a firewall to initiate outbound SSH connections to communicate with client management applications on the other side of the firewall.
Options
client client-id | Defines a device-initiated connection. This value serves to uniquely identify the outbound-ssh configuration stanza. Each outbound-ssh stanza represents a single outbound SSH connection. Thus, the administrator is free to assign the client-id any meaningful unique value. This attribute is not sent to the client management application. |
address | Hostname, IPv4 address, or IPv6 address of the management application server. Note:
Starting in Release 15.1, Junos OS supports outbound SSH connections with devices having IPv6 addresses.
|
device device-id | (Required) Identifies the device to the management application. Each time the device establishes an outbound SSH connection, it first sends an initiation sequence (device-id) to the management application. |
keep-alive | (Optional) When configured, specifies that the device should send SSH protocol keepalive messages to the management application.
|
reconnect-strategy (in-order|sticky) | (Optional) Specify the method the device uses to reestablish a disconnected outbound SSH connection.
|
routing-instance routing-instance-name | (SRX Series and MX Series only) Specify the name of the routing instance on which the outbound SSH connection needs to be established. If you do not specify a routing instance, your device will establish the outbound SSH connection using the default routing table. |
secret password | Configures the device to send the device’s public SSH host key when the device connects to the management server. This is the recommended method of maintaining a current copy of the device’s public key. |
services netconf | Configures the management application to accept NETCONF as an available service. |
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.4.
Support for IPv6 addresses added in Junos OS Release 12.1X47-D15.
routing-instance
option introduced in Junos OS Release
19.3R1 for SRX Series and MX Series devices.