Skip to content

Commit

Permalink
Merge pull request #49 from lewagon/lorcanrae-remote-ssh-clarity
Browse files Browse the repository at this point in the history
more clarity for vscode remote ssh public IP address
  • Loading branch information
lorcanrae authored May 25, 2024
2 parents 8bba9fd + 626f7ce commit 1e21d5b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ That's the only extension you should install on your _local_ machine, we will in
<img alt="vscode-connect-to-host" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-connect-to-host.png" width=500>

- Click on `Add a new host`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, and private key at `~/.ssh/id_rsa`, with a public IP of `34.77.50.76`, I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, my private SSH key is located at `~/.ssh/id_rsa` on my local computer, my VM has a public IP of `34.77.50.76`: I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
<img alt="vscode-ssh-connection-command" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-ssh-connection-command.png" width=500>
Expand Down Expand Up @@ -486,7 +486,7 @@ You can now change Host to whatever you would like to see as the name of your co
```bash
# For instance
Host "de-bootcamp-vm"
HostName 35.240.107.210
HostName 34.77.50.76 # replace with your VM's public IP address
IdentityFile <file path for your ssh key>
User <username>
```
Expand Down
4 changes: 2 additions & 2 deletions WINDOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ That's the only extension you should install on your _local_ machine, we will in
<img alt="vscode-connect-to-host" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-connect-to-host.png" width=500>

- Click on `Add a new host`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, and private key at `~/.ssh/id_rsa`, with a public IP of `34.77.50.76`, I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, my private SSH key is located at `~/.ssh/id_rsa` on my local computer, my VM has a public IP of `34.77.50.76`: I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
<img alt="vscode-ssh-connection-command" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-ssh-connection-command.png" width=500>
Expand Down Expand Up @@ -453,7 +453,7 @@ You can now change Host to whatever you would like to see as the name of your co
```bash
# For instance
Host "de-bootcamp-vm"
HostName 35.240.107.210
HostName 34.77.50.76 # replace with your VM's public IP address
IdentityFile <file path for your ssh key>
User <username>
```
Expand Down
4 changes: 2 additions & 2 deletions _partials/vscode_remote_ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ That's the only extension you should install on your _local_ machine, we will in
<img alt="vscode-connect-to-host" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-connect-to-host.png" width=500>

- Click on `Add a new host`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, and private key at `~/.ssh/id_rsa`, with a public IP of `34.77.50.76`, I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, my private SSH key is located at `~/.ssh/id_rsa` on my local computer, my VM has a public IP of `34.77.50.76`: I'll type `ssh -i ~/.ssh/id_rsa [email protected]`

<img alt="vscode-ssh-connection-command" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-ssh-connection-command.png" width=500>

Expand Down Expand Up @@ -67,7 +67,7 @@ You can now change Host to whatever you would like to see as the name of your co
```bash
# For instance
Host "de-bootcamp-vm"
HostName 35.240.107.210
HostName 34.77.50.76 # replace with your VM's public IP address
IdentityFile <file path for your ssh key>
User <username>
```
Expand Down
4 changes: 2 additions & 2 deletions macOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ That's the only extension you should install on your _local_ machine, we will in
<img alt="vscode-connect-to-host" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-connect-to-host.png" width=500>

- Click on `Add a new host`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, and private key at `~/.ssh/id_rsa`, with a public IP of `34.77.50.76`, I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
- Type `ssh -i <path/to/your/private/key> <username>@<ip address>`, for instance, my username is `somedude`, my private SSH key is located at `~/.ssh/id_rsa` on my local computer, my VM has a public IP of `34.77.50.76`: I'll type `ssh -i ~/.ssh/id_rsa [email protected]`
<img alt="vscode-ssh-connection-command" src="https://wagon-public-datasets.s3.amazonaws.com/data-engineering/setup/vscode-ssh-connection-command.png" width=500>
Expand Down Expand Up @@ -451,7 +451,7 @@ You can now change Host to whatever you would like to see as the name of your co
```bash
# For instance
Host "de-bootcamp-vm"
HostName 35.240.107.210
HostName 34.77.50.76 # replace with your VM's public IP address
IdentityFile <file path for your ssh key>
User <username>
```
Expand Down

0 comments on commit 1e21d5b

Please sign in to comment.