-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more clarity for vscode remote ssh public IP address
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
||
|
@@ -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> | ||
``` | ||
|