[X] I have read the documentation and confirmed that this feature is not implemented
[X] I have searched for the feature request I want to propose in the Issue Tracker and did not find it
[X] I am a non-Chinese user.
Description
Currently, if I want to connect to an internal server through a jump host and use it as part of the system proxy, I need to manually establish a local SOCKS5 proxy using ssh -D and then add it to mihomo proxy groups. The 2FA process can be automated with an Expect script or a modified version of sshpass, as long as the 2FA secret key is available. Of course, official software like Termius or MobaXterm doesn't allow 2FA automation, but I think Mihomo could easily support it. The ideal configuration file might look like this:
Verification Steps
Description
Currently, if I want to connect to an internal server through a jump host and use it as part of the system proxy, I need to manually establish a local SOCKS5 proxy using ssh -D and then add it to mihomo proxy groups. The 2FA process can be automated with an Expect script or a modified version of sshpass, as long as the 2FA secret key is available. Of course, official software like Termius or MobaXterm doesn't allow 2FA automation, but I think Mihomo could easily support it. The ideal configuration file might look like this:
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: