Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions REMOTE_SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Let's redeem the virtual machine on which we will work.
In order to move forwards, you will need to use:
- The SSH **public** and **PRIVATE** keys you just created
- The alias provided to you by Le Wagon
- The IP address provided to you by Le Wagon
- The VM IP address provided to you by Le Wagon

<details>

Expand Down Expand Up @@ -254,14 +254,14 @@ Once the VM is started, it takes a couple of minutes for the SSH server to be re
You may take a quick sip ☕️

Let's check the connection to the virtual machine with the command below:
- Replace `👉YOUR_IP_ADDRESS👈` with the IP address for your virtual machine provided to you by Le Wagon
- Replace `👉YOUR_VM_IP_ADDRESS👈` with the VM IP address provided to you by Le Wagon
- Replace `👉PATH_TO_YOUR_PRIVATE_KEY👈` with the path to your **PRIVATE** key

<details>
<summary markdown='span'>Windows</summary>

``` bash
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_VM_IP_ADDRESS👈
# ssh -i C:\Users\<YourUsername>\.ssh\id_ed25519 lewagon@34.52.208.105
```
</details>
Expand All @@ -270,7 +270,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
<summary markdown='span'>MacOS & Linux</summary>

``` bash
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_VM_IP_ADDRESS👈
# ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
```
</details>
Expand All @@ -286,7 +286,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
ssh: connect to host 34.52.208.105 port 22: Operation timed out
```
The virtual machine is not started OR your IP address is not registered, ask a teacher for help 🙋
The virtual machine is not started OR your public IP address is not registered, ask a teacher for help 🙋
</details>


Expand Down
2 changes: 1 addition & 1 deletion _partials/vm_register.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Let's redeem the virtual machine on which we will work.
In order to move forwards, you will need to use:
- The SSH **public** and **PRIVATE** keys you just created
- The alias provided to you by Le Wagon
- The IP address provided to you by Le Wagon
- The VM IP address provided to you by Le Wagon

<details>

Expand Down
8 changes: 4 additions & 4 deletions _partials/vm_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Once the VM is started, it takes a couple of minutes for the SSH server to be re
You may take a quick sip ☕️

Let's check the connection to the virtual machine with the command below:
- Replace `👉YOUR_IP_ADDRESS👈` with the IP address for your virtual machine provided to you by Le Wagon
- Replace `👉YOUR_VM_IP_ADDRESS👈` with the VM IP address provided to you by Le Wagon
- Replace `👉PATH_TO_YOUR_PRIVATE_KEY👈` with the path to your **PRIVATE** key

<details>
<summary markdown='span'>Windows</summary>

``` bash
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_VM_IP_ADDRESS👈
# ssh -i C:\Users\<YourUsername>\.ssh\id_ed25519 lewagon@34.52.208.105
```
</details>
Expand All @@ -22,7 +22,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
<summary markdown='span'>MacOS & Linux</summary>

``` bash
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_VM_IP_ADDRESS👈
# ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
```
</details>
Expand All @@ -40,7 +40,7 @@ ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
```

{%- if ip_filtering %}
The virtual machine is not started OR your IP address is not registered, ask a teacher for help 🙋
The virtual machine is not started OR your public IP address is not registered, ask a teacher for help 🙋
{%- else %}
The virtual machine is not started, ask a teacher for help 🙋
{%- endif %}
Expand Down
Loading