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: troubleshooting darwin -> darwin help #258

Open
wants to merge 1 commit into
base: master
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
19 changes: 18 additions & 1 deletion examples/darwin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,21 @@ SPDX-License-Identifier: MPL-2.0

## Deploying

Run `nix run github:serokell/deploy-rs -- --ssh-user <user>`.
Run `nix run github:serokell/deploy-rs -- --ssh-user <user>`.

## Troubleshooting

If you are running into a problem similar to this:

```
🚀 ℹ️ [deploy] [INFO] Building profile `system` for node `vm1`
🚀 ℹ️ [deploy] [INFO] Copying profile `system` to node `vm1`
([email protected]) Password:
🚀 ℹ️ [deploy] [INFO] Activating profile `system` for node `vm1`
🚀 ℹ️ [deploy] [INFO] Creating activation waiter
([email protected]) Password:
([email protected]) Password:
Received disconnect from fe80::1474:6f61:3c9b:a540%bridge100 port 22:2: Too many authentication failures
```

Try setting up **passwordless SSH login to the remote darwin guest** by adding your *host's public SSH key* to the *guest's `.ssh/authorized_keys`* file. Make sure to run `chmod -R go-rwx ~/.ssh` on the *guest*.
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, I'm pretty sure that's exactly what I initially meant in point 3) above in this document, perhaps worth updating it instead of adding a dedicated section 😅