Skip to content

Commit

Permalink
fix: allow jumphost by installing openssh-client on docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
leoparente committed Jan 2, 2025
1 parent 5cd0339 commit 01afb93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agent/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ FROM python:3.12-slim-bullseye

RUN \
apt update && \
apt install --yes --force-yes --no-install-recommends nmap && \
apt install --yes --force-yes --no-install-recommends nmap openssh-client && \
rm -rf /var/lib/apt

RUN addgroup --system netdev && useradd -m --shell /bin/bash -G netdev appuser && echo "appuser ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
Expand Down
1 change: 1 addition & 0 deletions docs/backends/device_discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ orb:
password: ${PASS}
optional_args:
canonical_int: True
ssh_config_file: /opt/orb/ssh-napalm.conf
- hostname: myhost.com
username: remote
password: 12345
Expand Down
2 changes: 2 additions & 0 deletions docs/config_samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ orb:
hostname: 192.168.0.5
username: admin
password: ${PASS}
optional_args:
ssh_config_file: /opt/orb/ssh-napalm.conf
```
Run command:
Expand Down

0 comments on commit 01afb93

Please sign in to comment.