To start DomTerm as a web server, run the
It is highly recommended that you use https,
--ssl option - see below.
It is of course possible to run the
ssh command from a
DomTerm session, but that does not provide a persistent session on
the remote server if the connection fails.
To use https you need a certificate.
A simple self-signed certificate:
openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout server.key -out server.crt -subj "/CN=localhost"
Start the server with these flags:
domterm --port 8080 --ssl --ssl-cert server.crt --ssl-key server.key
and then in your browser open
Note that browsers will complain about self-signed certificates,
so this is only suitable for testing.