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(automated): Update docs from Gitbook #840

Merged
merged 3 commits into from
Feb 20, 2024
Merged
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
23 changes: 15 additions & 8 deletions docs/ssh-no-ports/guides/usage-guide/basic-usage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,25 @@ Then use the associated private key, as mentioned under [#pre-existing-keys-in-p
sshnp ... -i path/to/my/ssh/private/key ...
```

## Additional Configuration

The rest of the configuration for `sshnp` is contained in a separate guide:

{% content-ref url="additional-configuration.md" %}
[additional-configuration.md](additional-configuration.md)
{% endcontent-ref %}

## Putting it altogether

An example of a complete command might look like this:

```bash
sshnp -f @alice_client -t @alice_device -d my_server -h @rv_am -i ~/.ssh/id_ed25519
```

\*Note if the username on the remote machine is different than your local machine you will have to also use the `-u` flag and the `-U` flag with the remote username. For example, if the remote username is `bocbc`. If you used the `-u` flag when running the sshnpd daemon then you can safely omit the `-U` flag.

```bash
sshnp -f @alice_client -t @alice_device -d my_server \
-h @rv_am -i ~/.ssh/id_ed25519 -u bobc -U bobc
```

The rest of the configuration for `sshnp` is contained in a separate guide:

## Additional Configuration

{% content-ref url="additional-configuration.md" %}
[additional-configuration.md](additional-configuration.md)
{% endcontent-ref %}
Loading