Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SSH as proxy outbound #48

Merged
merged 7 commits into from
Sep 6, 2024
Merged

feat: SSH as proxy outbound #48

merged 7 commits into from
Sep 6, 2024

Conversation

XOR-op
Copy link
Owner

@XOR-op XOR-op commented Sep 6, 2024

This PR enables SSH as a feasible proxy outbound. The configuration format is as below:

<PROXY-NAME>:
        server: String, #<SERVER-DOMAIN-OR-IP>
        port: u16,
        user: String,
        password: Option<String>,
        private-key: Option<PathBuf>,
        key-passphrase: Option<String>,
        host-pubkey: Option<SingleOrVec<String>>,

Some rules worth noticing:

  • When private-key is present, password field will be ignored.
  • When host-pubkey is empty, the pubkey check will be skipped without warning.

@XOR-op XOR-op merged commit e544a3b into main Sep 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant