Skip to content

Commit db33862

Browse files
committed
Add SSH Into Heroku Server Hosting App as a Heroku TIL
1 parent c09235f commit db33862

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
1010

1111
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
1212

13-
_1166 TILs and counting..._
13+
_1167 TILs and counting..._
1414

1515
---
1616

@@ -333,6 +333,7 @@ _1166 TILs and counting..._
333333

334334
- [Deploy A Review App To A Different Stack](heroku/deploy-a-review-app-to-a-different-stack.md)
335335
- [Set And Show Heroku Env Variables](heroku/set-and-show-heroku-env-variables.md)
336+
- [SSH Into Heroku Server Hosting App](heroku/ssh-into-heroku-server-hosting-app.md)
336337

337338
### HTML
338339

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SSH Into Heroku Server Hosting App
2+
3+
Heroku hosts and deploys your app on a remote server. One of Heroku's primary
4+
offerings is that it abstracts away the details of that server. You generally
5+
don't need to think about it. Instead you can use the Heroku CLI to interact
6+
with it indirectly.
7+
8+
There will inevitably be a time when you need to access that server directly.
9+
Heroku gives you a way to do this with their CLI through
10+
[`ps:exec`](https://devcenter.heroku.com/articles/exec).
11+
12+
```bash
13+
$ heroku ps:exec --app my-app
14+
```
15+
16+
This will connect you to an SSH session with the server that the app is running
17+
on.

0 commit comments

Comments
 (0)