You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the documentation and confirmed that this feature is not implemented
I have searched for the feature request I want to propose in the Issue Tracker and did not find it
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:
host-key-algorithms:
2fa-settings:
2fa-TOTP-shared-secret-key: "4LSI744DKVCDCJMXBCDYA1V3QE"
2fa-one-times-password-prompt: "verfification code:"
2fa-password-prompt: "password:"
The text was updated successfully, but these errors were encountered: