Skip to content

Commit 0f0c2df

Browse files
committed
windows ssh
1 parent 96b1ae7 commit 0f0c2df

2 files changed

Lines changed: 32 additions & 4 deletions

File tree

REMOTE_SETUP.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,27 @@ After a couple of minutes, a comment should appear and indicate that the operati
148148
![](images/register_complete.png)
149149

150150
Now let's check the connection to the virtual machine with the command below:
151-
- Replace your IP address
152-
- Replace the path to your **PRIVATE** key
151+
- Replace `👉YOUR_IP_ADDRESS👈` with the IP address of your virtual machine
152+
- Replace `👉PATH_TO_YOUR_PRIVATE_KEY👈` with the path to your **PRIVATE** key
153+
154+
<details>
155+
<summary markdown='span'>Windows</summary>
156+
157+
``` bash
158+
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
159+
# ssh -i C:\Users\<YourUsername>\.ssh\id_ed25519 lewagon@34.52.208.105
160+
```
161+
</details>
162+
163+
<details>
164+
<summary markdown='span'>MacOS & Linux</summary>
153165

154166
``` bash
155167
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
156168
# ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
157169
```
170+
</details>
171+
158172

159173
<details>
160174

_partials/vm_register.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,27 @@ After a couple of minutes, a comment should appear and indicate that the operati
7070
![](images/register_complete.png)
7171

7272
Now let's check the connection to the virtual machine with the command below:
73-
- Replace your IP address
74-
- Replace the path to your **PRIVATE** key
73+
- Replace `👉YOUR_IP_ADDRESS👈` with the IP address of your virtual machine
74+
- Replace `👉PATH_TO_YOUR_PRIVATE_KEY👈` with the path to your **PRIVATE** key
75+
76+
<details>
77+
<summary markdown='span'>Windows</summary>
78+
79+
``` bash
80+
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
81+
# ssh -i C:\Users\<YourUsername>\.ssh\id_ed25519 lewagon@34.52.208.105
82+
```
83+
</details>
84+
85+
<details>
86+
<summary markdown='span'>MacOS & Linux</summary>
7587

7688
``` bash
7789
ssh -i 👉PATH_TO_YOUR_PRIVATE_KEY👈 lewagon@👉YOUR_IP_ADDRESS👈
7890
# ssh -i ~/.ssh/id_ed25519 lewagon@34.52.208.105
7991
```
92+
</details>
93+
8094

8195
<details>
8296

0 commit comments

Comments
 (0)