Skip to content

Commit cf12586

Browse files
committed
dev-desktop.md: Document ssh alias
1 parent 7932498 commit cf12586

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
@@ -51,6 +51,16 @@ minutes after the key has been added before the dev desktops get updated.
5151
- [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)
5252
- [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)
5353

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

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

0 commit comments

Comments
 (0)