← 全部工具

moul/quicssh

热度 65 更新于 网络与系统管理

SSH over QUIC

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

quicssh

:smile: quicssh is a QUIC proxy that allows to use QUIC to connect to an SSH server without needing to patch the client or the server.

Architecture

Standard SSH connection

┌───────────────────────────────────────┐             ┌───────────────────────┐
│                  bob                  │             │         wopr          │
│ ┌───────────────────────────────────┐ │             │ ┌───────────────────┐ │
│ │           ssh user@wopr           │─┼────tcp──────┼▶│       sshd        │ │
│ └───────────────────────────────────┘ │             │ └───────────────────┘ │
└───────────────────────────────────────┘             └───────────────────────┘

---

SSH Connection proxified with QUIC

┌───────────────────────────────────────┐             ┌───────────────────────┐
│                  bob                  │             │         wopr          │
│ ┌───────────────────────────────────┐ │             │ ┌───────────────────┐ │
│ │ssh -o ProxyCommand "quicssh client│ │             │ │       sshd        │ │
│ │     --addr %h:4545" user@wopr     │ │             │ └───────────────────┘ │
│ │                                   │ │             │           ▲           │
│ └───────────────────────────────────┘ │             │           │           │
│                   │                   │             │           │           │
│                process                │             │  tcp to localhost:22  │
│                   │                   │             │           │           │
│                   ▼                   │             │           │           │
│ ┌───────────────────────────────────┐ │             │┌─────────────────────┐│

│ └───────────────────────────────────┘ │ │└─────────────────────┘│ └───────────────────────────────────────┘ └───────────────────────┘


## Usage

$ quicssh -h NAME: quicssh - A new cli application

USAGE: quicssh [global options] command [command options] [arguments...]

VERSION: 0.0.0

COMMANDS: server client help, h Shows a list of commands or help for one command

GLOBAL OPTIONS: --help, -h show help (default: false) --version, -v print the version (default: false)


### Client

$ quicssh client -h NAME: quicssh client -

USAGE: quicssh client [command options] [arguments...]