Setting up web ssh on a Raspberry Pi

After a bit of research I found a product called GateOne that would enable me to use a web browser to connect to ssh using standard https – cool!

Then ctrl+c so we can edit the config

at the end of the line with origins, add the IP of the Pi, i.e. , “192.168.0.123” then restart the daemon:

to check it out browse to https://192.168.0.123/

All that remains is to ensure it starts automatically on reboot – I think the update-rc.d script must be a bit buggy on the Pi.  I ended up doing all of this as I was having some trial and error fun:

Next up – some authentication …

within /etc/gateone/conf.d/20authentication.conf the authenication type was changed to google

and the terminal configuration (/etc/gateone/conf.d/50terminal.conf) was modified to turn off the terminal for all users (allow: false) and then add it back on just for me:

Back in /etc/gateone/conf.d/10server.conf I added my external dns to the list of allowed origins and forwarded port 443 on my router to my Pi

Job done!