Mahdi-zarei / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
GNU General Public License v3.0
526 stars 33 forks source link

[FR] Please add SSH as a config type #113

Closed Turbine8845 closed 2 months ago

Turbine8845 commented 3 months ago

Description suggestions

If it is possible, please kindly consider adding SSH as a config type in Server > New Profile section of Nekoray.

SSH as a config

Necessity of recommendations

Clients like Husi and NekoBox for Android have long had the ability to connect to VPS servers using SSH. Since Sing-box supports SSH, I guess having the ability to utilize it in the desktop version of Nekoray can be a useful feature for users.

https://sing-box.sagernet.org/configuration/outbound/ssh/

husi_ssh(1) husi_ssh

SagePtr commented 3 months ago

I checked SSH, it works in Nekoray if added as "Custom sing-box outbound", example:

{
    "type": "ssh",
    "server": "192.168.0.15",
    "server_port": 22,
    "user": "johndoe",
    "private_key": "-----BEGIN OPENSSH PRIVATE KEY-----\nKEY_HERE\n-----END OPENSSH PRIVATE KEY-----"
}

Would be nice to have in GUI as well.

Mahdi-zarei commented 2 months ago

Added in 4.1.4