Skip to content

Commit 3a93905

Browse files
authored
Merge pull request #419 from rimusz/explain_how_to_add_user_ssh_key
docs(applications): explain how to add user ssh key
2 parents 1fe2446 + 85d34d5 commit 3a93905

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

src/applications/using-buildpacks.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
Deis supports deploying applications via [Heroku Buildpacks][]. Buildpacks are useful if you're interested in following Heroku's best practices for building applications or if you are deploying an application that already runs on Heroku.
44

5+
## Add SSH Key
6+
7+
For **Buildpack** based application deploys via `git push`, Deis Workflow identifies users via SSH keys. SSH keys are pushed to the platform and must be unique to each user.
8+
9+
- See [this document](../users/ssh-keys.md/#generate-an-ssh-key) for instructions on how to generate an SSH key.
10+
11+
- Run `deis keys:add` to upload your SSH key to Deis Workflow.
12+
13+
- ```
14+
$ deis keys:add ~/.ssh/id_deis.pub
15+
Uploading id_deis.pub to deis... done
16+
```
17+
18+
Read more about adding/removing SSH Keys [here](../users/ssh-keys.md/#adding-and-removing-ssh-keys).
19+
520
## Prepare an Application
621

722
If you do not have an existing application, you can clone an example application that demonstrates the Heroku Buildpack workflow.
@@ -12,7 +27,7 @@ If you do not have an existing application, you can clone an example application
1227

1328
## Create an Application
1429

15-
Use `deis create` to create an application on the [controller][].
30+
Use `deis create` to create an application on the [Controller][].
1631

1732
$ deis create
1833
Creating application... done, created skiing-keypunch

src/applications/using-dockerfiles.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@
33
Deis supports deploying applications via Dockerfiles. A [Dockerfile][] automates the steps for crafting a [Docker Image][].
44
Dockerfiles are incredibly powerful but require some extra work to define your exact application runtime environment.
55

6+
## Add SSH Key
7+
8+
For **Dockerfile** based application deploys via `git push`, Deis Workflow identifies users via SSH keys. SSH keys are pushed to the platform and must be unique to each user.
9+
10+
- See [this document](../users/ssh-keys.md/#generate-an-ssh-key) for instructions on how to generate an SSH key.
11+
12+
- Run `deis keys:add` to upload your SSH key to Deis Workflow.
13+
14+
- ```
15+
$ deis keys:add ~/.ssh/id_deis.pub
16+
Uploading id_deis.pub to deis... done
17+
```
18+
19+
Read more about adding/removing SSH Keys [here](../users/ssh-keys.md/#adding-and-removing-ssh-keys).
20+
621

722
## Prepare an Application
823

0 commit comments

Comments
 (0)