Platon

Current version: alpha

This program allows for opening associated webpages over SSH. This is usefull when jumoing into a network over ssh and binding the resident webpages to the local machine e.g. the Proxmox or firewall web interfaces. This software is intended to be used in conjuction with jumphost but is not depenedent on it. It uses the users SSH configuration file.

How to use

You can run the webserver with:

platon [--dns] [--port PORT]

This starts a webserver on port PORT (defaults to 8080) and lists all host to connect to. The active connections are listed on top and the inactive ones are on on the bottom. Use the and buttons to perform their respective actions. The interface is just a simple list and looks like this:

Active connections

connected ssh_host

Platon hosts

ssh_host

Configuration

The configuration file resied in $XDG_CONFIG_HOME/platon with the default fallback to $HOME/.config/platon and has the following simple structure:

HOSTNAME:PORT:[SCHEME]

The SCHEME field is optional and should be either http or https.

/etc/hosts configuration

You can edit the /etc/hosts file to include all managed hosts by adding a delimited block to your hosts file:

###platon start###
###platon end###

You can run this with

platon dns [FILE_PATH]

The program will write all configured entries into this block. This allows for local DNS resolution which does not break SSL/TLS.

Beware: Do not configure publicly accessible hosts as this will break regular DNS.

When started with the --dns flag the links will use the configured host names in the provided links. This will fail the HTTP(S) connections if DNS is not configured.

This mode is intended to use with a password manager as they use the hostname to auto-fill the password fields.

Dependencies