Skip to content

SSH — not supported by Xray-core

Xray-core does not implement an SSH-tunnel outbound. There is no ssh value in infra/conf/.

Workaround

For SSH tunnelling, use:

You can also use the system's OpenSSH client as a SOCKS5 forwarder (ssh -D 1080 user@host) and route Xray's outbound through that local SOCKS5 port — works on every platform Xray runs on.

Core Tutorial by Argsment