Docs Config SSH

SSH

Turns any server you can SSH into directly into a proxy exit node, with no extra proxy software required — handy for quick emergency use, or a server that only has port 22 open.

Example Config

config.yaml YAML
proxies:
  - name: "ssh-out"
    type: ssh
    server: 127.0.0.1
    port: 22
    username: root
    password: password
    private-key: key
    private-key-passphrase: key_password
    host-key:
      - "ssh-rsa AAAAB3NzaC1yc2EAA..."
    host-key-algorithms:
      - rsa

Field Reference

username / passwordOptional

The SSH login username and password.

private-key / private-key-passphraseOptional

The private key content or path, plus its passphrase — use this or the username/password, whichever you prefer.

host-keyOptional

A list of host keys to verify against; leave blank to accept any host key (i.e. skip verification).

host-key-algorithmsOptional

Specifies the host key algorithm.