Skip to main content

How to get ssh connection details from the commandline?


1 comment

  • Dan Morrison

    The ssh connection string provided in your projects management console can also be found from the CLI if you have already installed and authenticated with the platform cli tool.

    The easiest way to ssh in directly from the cli is just with:

    platform ssh

    but if you want to get the ssh connection string that it’s using directly, you can use

    $ platform ssh --pipe

    which will return something like:

    This pattern is usually in the form $PROJECT-$ENV-$SLUG--$APP@ssh.$, and is not expected to change over time.

    Note that the ‘user’ part of the connection string seen here is used for routing to your project, and is not the userid you end up with on the box.


Please sign in to leave a comment.