A simple SSH connection menu in a Docker container.
3.4K
A simple Python SSH menu in a Docker container.

docker pull bbania/ssh-gateway
ssh-keygen -t rsa -b 4096 -C <your_comment>
ssh_config file with list of your hosts.
Host node1
IdentityFile ~/.ssh/id_rsa
HostName my.host.ip
User user
Port 22
menu_data to set menu entries for your hosts
MENU or COMMAND values):
subtitle to be set as well as options for submenu)
Example menu_data in menulist.py.
Pass menulist.py, ssh key and ssh_config to the container as volumes:
docker run --rm -it \
-v /path/to/ssh_config:/etc/ssh/ssh_config \
-v /path/to/ssh-key:/root/.ssh/id_rsa \
-v /path/to/menulist.py:/menulist.py
bbania/ssh-gateway
Content type
Image
Digest
Size
14.3 MB
Last updated
over 7 years ago
docker pull bbania/ssh-gateway