Skip to content

Commit 9fc8d54

Browse files
authored
Merge pull request #680 from aDotInTheVoid/patch-1
dev-desktop.md: Document ssh alias
2 parents 533d65e + cf12586 commit 9fc8d54

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/infra/docs/dev-desktop.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ minutes after the key has been added before the dev desktops get updated.
5252
- [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)
5353
- [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)
5454

55+
To make the command easier, you can configure an alias in your `~/.ssh/config` like so:
56+
57+
```ssh-config
58+
Host rustvm
59+
User <your-username>
60+
HostName <name>.infra.rust-lang.org
61+
```
62+
63+
Then you can connect with `ssh rustvm`.
64+
5565
## How to set up your account
5666

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

0 commit comments

Comments
 (0)