Skip to content

Commit

Permalink
Merge pull request #680 from aDotInTheVoid/patch-1
Browse files Browse the repository at this point in the history
dev-desktop.md: Document ssh alias
  • Loading branch information
jdno authored Oct 3, 2023
2 parents 533d65e + cf12586 commit 9fc8d54
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/infra/docs/dev-desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ minutes after the key has been added before the dev desktops get updated.
- [Generating a new SSH key and adding it to the ssh-agent](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
- [Adding a new SSH key to your GitHub account](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account)

To make the command easier, you can configure an alias in your `~/.ssh/config` like so:

```ssh-config
Host rustvm
User <your-username>
HostName <name>.infra.rust-lang.org
```

Then you can connect with `ssh rustvm`.

## How to set up your account

When connecting to the machine for the first time, there are a few things you
Expand Down

0 comments on commit 9fc8d54

Please sign in to comment.