# 使用 Homebrew, apk, apt, dnf, MacPorts, pacman 安装 sstp-client

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

## 安装

```sh
sudo av install brew:sstp-client
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sstp-client
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sstp-client
```

  证据: MacPorts ports tree: net/sstp-client/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sstp-client
```

  证据: Alpine Linux edge package indexes: sstp-client from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sstp-client
```

  证据: Debian stable package indexes: sstp-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sstp-client
```

  证据: Fedora Rawhide package metadata: sstp-client from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S sstp-client
```

  证据: Arch Linux sync databases: sstp-client from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:sstp-client
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sstp-client>
- **版本:** 1.0.20
- **来源摘要:** SSTP (Microsoft's Remote Access Solution for PPP over SSL) client
- **主页:** <https://gitlab.com/sstp-project/sstp-client>
- **上游文档:** <https://gitlab.com/sstp-project/sstp-client>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://gitlab.com/sstp-project/sstp-client/-/releases/1.0.20/downloads/dist-gzip/sstp-client-1.0.20.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sstpc (cli)
- sstpc (别名)

## 依赖

- libevent
- openssl@3

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- 注意事项: sstpc reads PPP configuration options from /etc/ppp/options. If this file does not exist yet, type the following command to create it: sudo touch /etc/ppp/options
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.0.20
- 本地数据: OK
- 上游仓库: https://gitlab.com/sstp-project/sstp-client
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

sstp-client is a Unix-like client for Microsoft's Secure Socket Tunneling Protocol, aimed at connecting Linux and macOS systems to Windows SSTP VPN endpoints through PPP over SSL.

### 项目历史

The official README frames the tool as an SSTP client for Linux that can establish a connection to a Windows 2008 Server, with command-line behavior similar to pptp-client for easier integration. The project's NEWS file records a 1.0-beta release in February 2011 after implementing Windows 2008 SSTP connectivity, async PPP support, IPv6, and certificate validation, followed by a 1.0 release in September 2011 after six months of beta testing.

### 采用历史

The release notes show the project being adapted to distribution realities early: Fedora Core 15 porting fixes, Ubuntu 11.04 and Fedora packages, NetworkManager SSTP plugin work, libevent2 support, Mac OS X/Darwin changes for MacPorts, OpenSSL 1.1 and 3.0 support, and pppd 2.5.0 compatibility. The supplied package facts show availability in Homebrew, Alpine, Fedora/DNF, MacPorts, Arch, Debian, and Ubuntu.

### 使用方式

Users can run sstpc directly or have pppd load it through the plugin directive. The official README describes the common Unix integration path: store MSCHAP credentials in /etc/ppp/chap-secrets, create a peer file under /etc/ppp/peers, then use pon and poff to start and stop the tunnel.

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

Package maintainers care about sstp-client because it bridges a Microsoft VPN protocol into the pppd/OpenSSL/libevent Unix stack. Its history is largely a packaging and compatibility story: keeping VPN access working as pppd, OpenSSL, Linux distributions, MacPorts, and NetworkManager changed around it.

### 时间线

- 2011: 1.0-beta connected to Windows 2008 SSTP servers with async PPP, IPv6, and certificate validation.
- 2011: 1.0 followed after six months of beta testing, with Ubuntu 11.04 and Fedora Core 15 packages.
- 2012: 1.0.7 added Mac OS X/Darwin support work via MacPorts.
- 2021: Project moved to GitLab under eivnaes/sstp-client.
- 2023: Project moved to gitlab.com/sstp-project/sstp-client and joined GitLab's Open Source Program.
- 2024: 1.0.20 added a macOS tty speed override and static-analysis fixes.

### Related projects

- The README lists pppd, OpenSSL, libevent, pptp-client, NetworkManager SSTP, and Microsoft SSTP documentation as adjacent projects or protocol references.

### 来源

- <https://gitlab.com/sstp-project/sstp-client/-/raw/master/ChangeLog>
- <https://gitlab.com/sstp-project/sstp-client/-/raw/master/NEWS>
- <https://gitlab.com/sstp-project/sstp-client/-/raw/master/README.md>
- source_facts.package-manager


## 安全说明

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: /etc/ppp/peers/*

## Credential files

- Unix: /etc/ppp/chap-secrets
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sstp-client
- **Version Scheme:** 1
- **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

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

- Debian apt - libsstp-api-0 - 1.0.20-1+b2: normalized package name match | Debian stable package indexes: libsstp-api-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- Debian apt - libsstp-api-0-dev - 1.0.20-1+b2: normalized package name match | Debian stable package indexes: libsstp-api-0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- Debian apt - sstp-client - 1.0.20-1+b2: normalized package name match | Debian stable package indexes: sstp-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- Ubuntu apt - libsstp-api-0 - 1.0.19-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsstp-api-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- Ubuntu apt - libsstp-api-0-dev - 1.0.19-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsstp-api-0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- Ubuntu apt - sstp-client - 1.0.19-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sstp-client from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Connect to a Microsoft Windows 2008 server using SSTP VPN | https://gitlab.com/eivnaes/sstp-client
- apk - sstp-client - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sstp-client from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A client implementation of Secure Socket Tunneling Protocol (SSTP) for Linux / Mac OS-X. | https://gitlab.com/sstp-project/sstp-client
- apk - sstp-client-dev - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sstp-client-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A client implementation of Secure Socket Tunneling Protocol (SSTP) for Linux / Mac OS-X. (development files) | https://gitlab.com/sstp-project/sstp-client
- apk - sstp-client-doc - 1.0.20-r5: normalized package name match | Alpine Linux edge package indexes: sstp-client-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A client implementation of Secure Socket Tunneling Protocol (SSTP) for Linux / Mac OS-X. (documentation) | https://gitlab.com/sstp-project/sstp-client
- dnf - sstp-client - 1.0.18-15.fc45: normalized package name match | Fedora Rawhide package metadata: sstp-client from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Secure Socket Tunneling Protocol(SSTP) Client | https://gitlab.com/eivnaes/sstp-client
- dnf - sstp-client-devel - 1.0.18-15.fc45: normalized package name match | Fedora Rawhide package metadata: sstp-client-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Development files for sstp-client | https://gitlab.com/eivnaes/sstp-client
- pacman - sstp-client - 1:1.0.20-2: normalized package name match | Arch Linux sync databases: sstp-client from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SSTP client stable revision | http://sstp-client.sourceforge.net/
- MacPorts - sstp-client: normalized package name match | MacPorts ports tree: net/sstp-client/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [libevent](https://pkg.so/zh-hans/brew/libevent/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [openconnect](https://pkg.so/zh-hans/brew/openconnect/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [sing-box](https://pkg.so/zh-hans/brew/sing-box/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [openfortivpn](https://pkg.so/zh-hans/brew/openfortivpn/) - Shares pkgdb curated category or tags: cli, networking, ppp, vpn.
- [tinc](https://pkg.so/zh-hans/brew/tinc/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [edgevpn](https://pkg.so/zh-hans/brew/edgevpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [udp2raw-multiplatform](https://pkg.so/zh-hans/brew/udp2raw-multiplatform/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [macosvpn](https://pkg.so/zh-hans/brew/macosvpn/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [brook](https://pkg.so/zh-hans/brew/brook/) - Shares pkgdb curated category or tags: cli, networking, vpn.
- [openiked](https://pkg.so/zh-hans/brew/openiked/) - Local package facts share a topical domain. Shared terms: cli, libevent, networking, openssl, openssl-3.
- [openvpn](https://pkg.so/zh-hans/brew/openvpn/) - Local package facts share a topical domain. Shared terms: cli, networking, openssl, openssl-3, ssl.
- [ffsend](https://pkg.so/zh-hans/brew/ffsend/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, client, networking.

## Combined YAML source

View the package source record on GitHub. [combined/sstp-client.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sstp-client.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
