I am working on an application where the primary interface is via SSH rather than HTTP. More specifically, I am using Go's SSH library. What I am wondering is if there is a way to deploy to Heroku and have SSH access in some reliable way.
The constraints (if I understand Heroku correctly) are that the application must listen on some port, which is behind some sort of reverse HTTP proxy and accessible only with the correct domain name (i.e. VHOSTs). I would also prefer a solution that can run in a single dyno.
The objective is to be able to run ssh mycoolapp.herokuapp.com
(specifying other options as necessary) and be able to make a connection. Please note, however, I'm not trying to get a shell on Heroku, I'm using it for other purposes in the application.