A GUI client for Windows and Linux, support Xray core and v2fly core and others
Find a file
Moeein 7d0fd3a7bb feat: add SSH outbound protocol (sing-box, chainable)
Add SSH as a first-class protocol alongside VMess/VLESS/Anytls/Naive:

- New EConfigType.SSH (sing-box only; not in XraySupportConfigType).
- ProtocolExtraItem gains SshPrivateKey / SshPrivateKeyPath /
  SshPrivateKeyPassphrase / SshHostKey / SshHostKeyAlgorithms /
  SshClientVersion.
- Outbound4Sbox gains user / private_key / private_key_path /
  private_key_passphrase / host_key / host_key_algorithms /
  client_version, mapping 1:1 to sing-box's ssh outbound schema.
- SingboxOutboundService emits the ssh outbound and bypasses TLS for
  SSH nodes; multiplex is not called for SSH (sing-box rejects it).
- ConfigHandler.AddSSHServer pins CoreType=sing_box, requires a
  username, and requires exactly one of password / inline key / key
  path (inline and path are mutually exclusive).
- AddServerViewModel exposes SSH fields and mirrors the same
  validation rules at save time.
- MainWindowViewModel: AddSshServerCmd routed to AddServerAsync(SSH).
- WPF + Avalonia: new gridSsh on AddServerWindow with username,
  password, inline PEM, key path, passphrase, host key(s),
  host-key algorithms, and client version. Hides transport/TLS/finalmask.
- MainWindow menu item 'Add [SSH]' bound on both UIs.
- Resources: menuAddSshServer + Tb*Ssh* + FillSshAuth +
  PleaseFillUsername (resx + Designer).
- Tests: SingboxSshOutboundTests covers password-only output, inline
  PEM line splitting, host_key CSV trimming, and SSH-in-ProxyChain
  detour wiring.

Chaining works through the existing ProxyChain machinery (detour
field), since SSH is now a regular sing-box outbound.
2026-05-22 13:10:26 +03:30
.github bump dependencies (#9341) 2026-05-20 09:01:22 +08:00
v2rayN feat: add SSH outbound protocol (sing-box, chainable) 2026-05-22 13:10:26 +03:30
.editorconfig Update .editorconfig 2025-01-31 15:59:44 +08:00
.gitattributes Remove extra .gitignore file and move .gitattributes to the root folder for consistent storage of .git-related files. (#6545) 2025-01-20 09:28:30 +08:00
.gitignore i18n(ru/zh-Hans/zh-Hant/hu/fa): translate TUN settings, unify MTU, use resx (#7787) 2025-08-18 17:28:59 +08:00
.gitmodules Use project to implement Windows global hotkey 2025-02-27 20:12:07 +08:00
LICENSE Update LICENSE (#7327) 2025-05-28 20:04:12 +08:00
package-debian-loong.sh Remove patch for riscv (#9310) 2026-05-15 15:09:04 +08:00
package-debian-riscv.sh Remove patch for riscv (#9310) 2026-05-15 15:09:04 +08:00
package-debian.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
package-osx.sh Update package-osx.sh (#8303) 2025-11-11 19:31:06 +08:00
package-rhel-riscv.sh Remove patch for riscv (#9310) 2026-05-15 15:09:04 +08:00
package-rhel.sh Update .NET 10 (#9239) 2026-05-11 17:56:35 +08:00
README.md docs: improve README.md formatting and readability (#7376) 2025-06-02 09:52:49 +08:00

v2rayN

A GUI client for Windows, Linux and macOS, support Xray and sing-box and others

GitHub commit activity CodeFactor GitHub Releases Chat on Telegram

How to use

Read the Wiki for details.

Telegram Channel

github_2dust