Simple tool to quickly connect to favorite servers, including creation of SSH tunnels.
This project is very much in it’s initial, experimental phase. Use at your own risk.
Portal provides following set of features that one could find useful:
portal connect <name>
Configuration file is looked for at ~/.portal/config.yaml.
# List of all known destinations
- name: server1.tunnel
hint: Port 3000
command: ssh -L 3000:localhost:8080 firstname.lastname@example.org
# Direct connection
- name: server.prod.bastion
command: ssh -A email@example.com
# Double tunnel
- name: server.prod.tunnel
hint: Local 33333 -> 12345 @ backend.dot.ip via bastion.dot.ip
command: ssh -L 33333:localhost:33333 -A firstname.lastname@example.org ssh -L 33333:localhost:12345 -A email@example.com
# AWS EC2 Instance Connect
- name: aws.host
See separate TODO document for what is planned.
Simply run make all or make build-in-docker if you have Docker installed
MIT license, as described in the LICENSE file.