# 使用 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
- **版本:** 1.106
- **来源摘要:** Provides SOCKS and HTTPS proxy support to SSH
- **主页:** <https://github.com/gotoh/ssh-connect>
- **仓库:** <https://github.com/gotoh/ssh-connect>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- connect (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.106
## 项目历史与用法

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
## 其他软件包管理器记录

- 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


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
