# 使用 Homebrew, apk, chocolatey, apt, MacPorts, Nix, pacman, zypper, dnf 安装 sshfs

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

## 安装

```sh
sudo av install brew:sshfs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sshfs
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sshfs
```

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

### Linux

- apk (92%):

```sh
sudo apk add sshfs
```

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

- Debian apt (92%):

```sh
sudo apt install sshfs
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#sshfs
```

  证据: nixpkgs package indexes: sshfs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S sshfs
```

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

- zypper (92%):

```sh
sudo zypper install sshfs
```

  证据: openSUSE Tumbleweed package metadata: sshfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- dnf (92%):

```sh
sudo dnf install fuse-sshfs
```

  证据: Fedora Rawhide package metadata: fuse-sshfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install sshfs
```

  证据: Chocolatey community package catalog: sshfs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sqlitebrowser.install'

## 软件包事实

- **软件包键:** brew:sshfs
- **软件包管理器:** Homebrew
- **版本:** 3.7.6
- **来源摘要:** File system client based on SSH File Transfer Protocol
- **主页:** <https://github.com/libfuse/sshfs>
- **仓库:** <https://github.com/libfuse/sshfs>
- **最后更新:** 2026-05-30T04:29:24Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mount.fuse.sshfs (别名)
- mount.sshfs (别名)
- sshfs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SSHFS is a FUSE-based filesystem client that mounts remote directories over SFTP. It became a classic Unix package-manager utility because it turns ordinary SSH access into a mountable filesystem without requiring special server-side software.

### 项目历史

The official changelog records SSHFS 1.0 as the initial release and then tracks years of compatibility, caching, performance, and portability work. The project later moved through the libfuse ecosystem, adopted Meson builds, required libfuse 3 in the 3.x series, and continued to follow OpenSSH and FUSE behavior changes.

### 采用历史

The README states that SSHFS is shipped by all major Linux distributions and has been used in production across many systems for years. It also notes a period of limited maintenance: release 3.7.3 in 2022 said SSHFS was no longer maintained or developed, while later changelog entries show new maintainers and renewed releases.

### 使用方式

The canonical command is `sshfs [user@]hostname:[directory] mountpoint`, followed by `fusermount -u mountpoint` on Linux or `umount mountpoint` on BSD and macOS. The README emphasizes that most SSH servers already provide SFTP, so the remote side usually needs no extra package.

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

SSHFS is a packaging staple because it bridges SSH, SFTP, FUSE, desktop workflows, and server administration with one small command. Its cross-distro presence, kernel/filesystem dependency surface, macOS/BSD differences, and long maintenance arc make it exactly the kind of package that exposes the practical edges of package-manager ecosystems.

### 时间线

- 1.0: Initial release recorded in the official changelog.
- 2015: Release 2.6 introduced Nikolaus Rath as new maintainer.
- 2016: Release 2.7 integrated the osxfuse copy so SSHFS worked on OS X out of the box.
- 2017: Release 3.0 required libfuse 3.1.0 or newer and added Meson build support.
- 2022: Release 3.7.3 announced the project was no longer actively maintained or developed.
- 2025: Release 3.7.5 added new maintainers and updated Windows and macOS support.
- 2026: Release 3.7.6 fixed security issues and added another maintainer.

### Related projects

- SSHFS is related to libfuse, OpenSSH, SFTP, osxfuse/macFUSE, FUSE mount helpers, and package-manager integration for filesystem utilities.

### 来源

- <https://github.com/libfuse/sshfs#readme>
- <https://raw.githubusercontent.com/libfuse/sshfs/master/ChangeLog.rst>
- source_facts.package-manager


## 安全说明

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

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

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

- Debian apt - sshfs - 3.7.3-1.2~deb13u1: normalized package name match | Debian stable package indexes: sshfs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | filesystem client based on SSH File Transfer Protocol | https://github.com/libfuse/sshfs
- Nix - sshfs: normalized package name match | nixpkgs package indexes: sshfs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - sshfs - 3.7.3-1.1build3: normalized package name match | Ubuntu 24.04 LTS package indexes: sshfs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | filesystem client based on SSH File Transfer Protocol | https://github.com/libfuse/sshfs
- apk - sshfs - 3.7.6-r0: normalized package name match | Alpine Linux edge package indexes: sshfs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | FUSE client based on the SSH File Transfer Protocol | https://github.com/libfuse/sshfs
- apk - sshfs-doc - 3.7.6-r0: normalized package name match | Alpine Linux edge package indexes: sshfs-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | FUSE client based on the SSH File Transfer Protocol (documentation) | https://github.com/libfuse/sshfs
- dnf - fuse-sshfs - 3.7.6-2.fc45: normalized package name match | Fedora Rawhide package metadata: fuse-sshfs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | FUSE-Filesystem to access remote filesystems via SSH | https://github.com/libfuse/sshfs
- pacman - sshfs - 3.7.6-1: normalized package name match | Arch Linux sync databases: sshfs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | FUSE client based on the SSH File Transfer Protocol | https://github.com/libfuse/sshfs
- zypper - sshfs - 3.7.6-1.3: normalized package name match | openSUSE Tumbleweed package metadata: sshfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Filesystem client based on SSH file transfer protocol | https://github.com/libfuse/sshfs
- MacPorts - sshfs: normalized package name match | MacPorts ports tree: fuse/sshfs/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - sshfs: normalized package name match | Chocolatey community package catalog: sshfs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','sqlitebrowser.install'


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
