Establishing an SSH Connection for a NETCONF Session and cRPD
Establishing an SSH Connection
SSH can be used to establish connections between a configuration management server and a device running Linux OS with cRPD. A configuration management server, as the name implies, is used to configure the device running Linux OS remotely. With SSH, the configuration management server initiates an SSH session with the device running Linux OS.
Enabling SSH
To enable SSH on a cRPD:
Port Forwarding Mechanism
To map a host port to a container port:
Run the following command to map a port on the host with
a port on container.
user@crpd01:/usr/bin# docker run -d --name crpd02 -p 8034:22
crpd:20.4R1.12