> For the complete documentation index, see [llms.txt](https://docs.noports.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.noports.com/usage/basic-usage-1/additional-configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.noports.com/~gitbook/mcp).

# Client Additional Configuration

NoPorts client \`sshnp\` additional configuration

## Additional Options

### -k, --key-file

Specify the `.atKeys` file for the `-f, --from` Atsign if it's not stored in \~/.atsign/keys

### -v, --verbose

More logging.

### -l, --local-port

The local port which will be forwarded to the remote sshd port. If this is set to "0", it defers to to the OS to assign an ephemeral port.\
(Defaults to "0")

### --remote-sshd-port

The remote port which we expect sshd to be running on.

(Defaults to "22")

### -u, --remote-user-name

The username to use in the ssh session on the remote host.

(a.k.a. the user you want to sign in as)

### -U, --tunnel-user-name

The username to use for the initial ssh tunnel.

(a.k.a. the user running sshnpd)

### -i, --identity-file

Identity file to use for the ssh connection.

### --identity-passphrase

Passphrase for identity file.

### -s, --send-ssh-public-key

Send the ssh public key to the remote host for automatic authorization.

### --idle-timeout

Number of seconds after which inactive ssh connections will be closed

(Defaults to "15")

### -o, --local-ssh-options

Additional ssh options which are passed to the ssh program.

### --add-forwards-to-tunnel

Enable this flag to pass the `-o, --local-ssh-options` to the initial ssh tunnel instead of the ssh session.

### --ssh-client

Which ssh-client to use, `openssh` (default) or `dart`.

### --legacy-daemon

Request is to a legacy (< 4.0.0) noports daemon.

### -x, --output-execution-command

Output the ssh execution command instead of executing it.

### --config-file

Pass command line arguments via an environment file.

### --list-devices

List devices which have discovery (-u) enabled.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.noports.com/usage/basic-usage-1/additional-configuration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
