For a simpel web2py based server running on a non-https port I wanted to be able to get to the admin interface but normally that isn’t possible as you will get a “Admin is disabled because insecure channel” message.

The solution is to use a ssh tunnel:

Assuming the web2py server runs at server:8000.

ssh -L 8001:127.0.0.1:8001 user@server

Then go in your browser to 127.0.0.1:8001/admin