Heroku Exec is generally available - connect to a dyno via SSH
Change effective on 28 September 2017
Today Heroku Exec is generally available allowing you to connect to a dyno via SSH. To connect to a dyno, simply run:
$ heroku ps:exec Establishing credentials... done Connecting to web.1 on ⬢ ns-pipeline-staging... ~ $ top
heroku run bash, which creates a one-off dyno, Exec makes an SSH connection directly to an existing dyno (e.g., web.2).
Exec also allows you to copy files off of a dyno, forward traffic on a local port to a dyno, and take advantage of common Java debugging tools.
More details are available in the Exec documentation.