Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add hint to not use IdentitiesOnly in SSH config #411

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ line that reads:
Replace the text `CHANGE` with your own SSH key. This is crucial, as you will
not be able to log into the target machine post-installation without it.

**Note:** If you use an `~/.ssh/config` entry **make sure the entry for your machine **does
not include `IdentitiesOnly yes`\*\* since that will block the on-the-fly generated
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
not include `IdentitiesOnly yes`\*\* since that will block the on-the-fly generated
not include `IdentitiesOnly yes` since that will block the on-the-fly generated

SSH key of `nixos-anywhere` during install. Delete this setting or set it to `no`
and re-enable it after the install, e.g.

```
Host mymachine
HostName 1.1.1.1
IdentityFile ~/.ssh/my-ssh-private-key
IdentitiesOnly no
```

### 4. Configure Storage

In the same directory, create a file called `disk-config.nix`. This file will
Expand Down