# 使用 Homebrew, Nix, scoop, winget 安装 connect

查看 connect 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:connect
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install connect
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#connect
```

  证据: nixpkgs package indexes: pkgs/by-name/co/connect/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/connect
```

  证据: Scoop official bucket manifest trees: bucket/connect.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Adobe.AdobeConnect -e
```

  证据: Windows Package Manager source index: Adobe.AdobeConnect from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:connect
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/connect>
- **版本:** 1.106
- **来源摘要:** Provides SOCKS and HTTPS proxy support to SSH
- **主页:** <https://github.com/gotoh/ssh-connect>
- **仓库:** <https://github.com/gotoh/ssh-connect>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/gotoh/ssh-connect/archive/refs/tags/1.106.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- connect (cli)
- connect (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.106
- 本地数据: OK
- 上游仓库: https://github.com/gotoh/ssh-connect
- 检测到的最新版本: 1.106 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

connect, upstreamed as ssh-connect/connect.c, is a small proxy relay intended for OpenSSH ProxyCommand use. It lets SSH cross SOCKS and HTTP CONNECT proxies without embedding those proxy mechanisms in OpenSSH itself.

### 项目历史

The official README explains the origin plainly: OpenSSH delegated proxying to the ProxyCommand mechanism, and connect.c was made for that purpose. The tool stayed intentionally small, portable, and independent from OpenSSH.

### 采用历史

The package persists because corporate and campus networks still put SSH behind SOCKS or HTTPS proxies. Input metadata lists it for Homebrew, Nix, and Scoop, which fits its cross-platform C design.

### 使用方式

Users normally compile or install the single connect binary and reference it from ~/.ssh/config with a ProxyCommand line. The README documents SOCKS4, SOCKS4a, SOCKS5, HTTP CONNECT, proxy credentials, debug mode, and local socket relay behavior.

### 为什么软件包爱好者会关心

connect is packaging old-school Unix glue: one C file, one binary, and one exact job. Its significance is that it packages an OpenSSH extension pattern rather than a standalone network service.

### 时间线

- 2000s: README-era revision strings and tags show a long-lived single-purpose C utility.
- 2026: Input package metadata still lists connect in multiple package managers.

### Related projects

- OpenSSH ProxyCommand is the interface connect is designed to serve.
- SOCKS and HTTP CONNECT proxies are the network mechanisms it relays through.

### 来源

- <https://github.com/gotoh/ssh-connect>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.ssh/config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** connect
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - connect: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/connect/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/connect: normalized package name match | Scoop official bucket manifest trees: bucket/connect.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Adobe.AdobeConnect: normalized package name match | Windows Package Manager source index: Adobe.AdobeConnect from https://cdn.winget.microsoft.com/cache/source.msix
- winget - CyberHive.Connect: normalized package name match | Windows Package Manager source index: CyberHive.Connect from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [proxychains-ng](https://pkg.so/zh-hans/brew/proxychains-ng/) - Shares pkgdb curated category or tags: cli, networking, proxy, socks.
- [corkscrew](https://pkg.so/zh-hans/brew/corkscrew/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [proxytunnel](https://pkg.so/zh-hans/brew/proxytunnel/) - Shares pkgdb curated category or tags: cli, https-proxy, networking, proxy, ssh.
- [gotun](https://pkg.so/zh-hans/brew/gotun/) - Shares pkgdb curated category or tags: cli, networking, proxy, ssh, tunneling.
- [pwnat](https://pkg.so/zh-hans/brew/pwnat/) - Shares pkgdb curated category or tags: cli, networking, proxy, tunneling.
- [sing-box](https://pkg.so/zh-hans/brew/sing-box/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [mihomo](https://pkg.so/zh-hans/brew/mihomo/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [libproxy](https://pkg.so/zh-hans/brew/libproxy/) - Shares pkgdb curated category or tags: cli, networking, proxy.

## Combined YAML source

View the package source record on GitHub. [combined/connect.yml](https://github.com/mxcl/pkgdb/blob/main/combined/connect.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
