Enable SSH in Routinator
For the next few labs to work, we must enable SSH support within the Routinator container.
From your clab server, connect to the bash shell of Routinator as root:
docker exec -it --user root clab-rpki-RPKI shDownload the necessary packages to enable SSH and netcat:
apk add openssh
apk add openrc --no-cache
apk add netcat-openbsd
apk add busybox-extrasEnable SSHd service:
rc-update add sshdCreate an rpki user. Use rpki as the password. It will warn you that the password is weak, but still let you use it.
adduser rpkiCreate a redirection to routinator in SSHd config:
echo "Subsystem rpki-rtr nc 127.0.0.1 3323" >> /etc/ssh/sshd_configStart the SSHd service:
rc-status
touch /run/openrc/softlevel
rc-service sshd startLast updated