Change effective on 14 March 2017
Heroku Exec allows you to create an SSH-based terminal session into a dyno. You can also use Exec to connect remote debuggers, and other tools that require an SSH tunnel, to a dyno.
After installing the CLI plugin and initializing, run:
$ heroku ps:exec Establishing credentials... done Connecting to web.1 on ⬢ your-app... ~ $
Exec is now available in beta, with more details in the Exec documentation.