Skip to content

Commit 14aca58

Browse files
committed
parametrise key name
1 parent 2d4f5ca commit 14aca58

5 files changed

Lines changed: 22 additions & 14 deletions

File tree

REMOTE_SETUP.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ To create a separate SSH key to exclusively use for this bootcamp use the follow
6969

7070
```bash
7171
# replace your_email@example.com, this is purely informative and allows you to remember the use of this key
72-
ssh-keygen -t ed25519 -f ~/.ssh/de-bootcamp -C your_email@example.com
72+
ssh-keygen -t ed25519 -f ~/.ssh/ds-bootcamp -C your_email@example.com
7373
```
7474

75-
Your new SSH Key will be named `de-bootcamp`. Make sure to remember it for later!
75+
Your new SSH Key will be named `ds-bootcamp`. Make sure to remember it for later!
7676
</details>
7777

7878

@@ -207,7 +207,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
207207
Error:
208208

209209
``` bash
210-
ssh -i ~/.ssh/id_ed25519_data_eng_setup lewagon@34.52.208.105
210+
ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
211211
ssh: connect to host 34.52.208.105 port 22: Operation timed out
212212
```
213213

@@ -220,7 +220,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
220220
<summary>❌ Connection refused</summary>
221221

222222
``` bash
223-
ssh -i ~/.ssh/id_ed25519_data_eng_setup lewagon@34.52.208.105
223+
ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
224224
ssh: connect to host 34.52.208.105 port 22: Connection refused
225225
```
226226

@@ -333,7 +333,7 @@ You can now change Host to whatever you would like to see as the name of your co
333333

334334
```bash
335335
# For instance
336-
Host "de-bootcamp-vm"
336+
Host "ds-bootcamp-vm"
337337
HostName 34.77.50.76 # replace with your VM's public IP address
338338
IdentityFile <file path for your ssh key>
339339
User <username>

VM.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ To create a separate SSH key to exclusively use for this bootcamp use the follow
6969

7070
```bash
7171
# replace your_email@example.com, this is purely informative and allows you to remember the use of this key
72-
ssh-keygen -t ed25519 -f ~/.ssh/de-bootcamp -C your_email@example.com
72+
ssh-keygen -t ed25519 -f ~/.ssh/ds-bootcamp -C your_email@example.com
7373
```
7474

75-
Your new SSH Key will be named `de-bootcamp`. Make sure to remember it for later!
75+
Your new SSH Key will be named `ds-bootcamp`. Make sure to remember it for later!
7676
</details>
7777

7878

@@ -316,7 +316,7 @@ You can now change Host to whatever you would like to see as the name of your co
316316

317317
```bash
318318
# For instance
319-
Host "de-bootcamp-vm"
319+
Host "ds-bootcamp-vm"
320320
HostName 34.77.50.76 # replace with your VM's public IP address
321321
IdentityFile <file path for your ssh key>
322322
User <username>

_partials/vm_test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
3535
Error:
3636

3737
``` bash
38-
ssh -i ~/.ssh/id_ed25519_data_eng_setup lewagon@34.52.208.105
38+
ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
3939
ssh: connect to host 34.52.208.105 port 22: Operation timed out
4040
```
4141

@@ -48,7 +48,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
4848
<summary>❌ Connection refused</summary>
4949

5050
``` bash
51-
ssh -i ~/.ssh/id_ed25519_data_eng_setup lewagon@34.52.208.105
51+
ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
5252
ssh: connect to host 34.52.208.105 port 22: Connection refused
5353
```
5454

builds/REMOTE_SETUP.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ locales: [en]
44
partials:
55
- intro
66
- setup/github
7-
- de_setup/ssh_key
7+
- name: de_setup/ssh_key
8+
vars:
9+
key_name: ds-bootcamp
810
- vm_register
911
- vm_start
1012
- vm_test
1113
- de_setup/win_vscode
12-
- de_setup/vscode_remote_ssh
14+
- name: de_setup/vscode_remote_ssh
15+
vars:
16+
vm_hostname: ds-bootcamp-vm
1317
- vscode_extensions
1418
- setup/vscode_aifeatures
1519
- setup/cli_tools

builds/VM.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ locales: [en, es]
44
partials:
55
- intro
66
- setup/github
7-
- de_setup/ssh_key
7+
- name: de_setup/ssh_key
8+
vars:
9+
key_name: ds-bootcamp
810
- de_setup/gcp_setup
911
- de_setup/virtual_machine
1012
- de_setup/win_vscode
11-
- de_setup/vscode_remote_ssh
13+
- name: de_setup/vscode_remote_ssh
14+
vars:
15+
vm_hostname: ds-bootcamp-vm
1216
- vscode_extensions
1317
- setup/vscode_aifeatures
1418
- setup/cli_tools

0 commit comments

Comments
 (0)