Documentation
¶
Overview ¶
Package sshbridge lets xray-core use an SSH server as its proxy.
xray-core has no SSH outbound, so Kite runs a tiny SOCKS5 server on 127.0.0.1 that forwards each CONNECT through one SSH session (direct-tcpip channels, like `ssh -D`). The generated xray config then points its proxy outbound at that SOCKS port. SSH carries TCP only: UDP ASSOCIATE is refused, and DNS is resolved over TCP instead (see xrayconf).
SSH servers use protocol "ssh" with Password and these extra keys: user, pk (private key, PEM/OpenSSH), pp (key passphrase) and hk (host key: "SHA256:..." fingerprint or an authorized_keys line; empty = don't verify).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.