English

Recommended: DMG package

  1. Download SFTPxy_v0.2.2_macOS_arm64.dmg for Apple Silicon, or the x86_64 DMG for Intel Mac.
  2. Double-click the DMG to mount it.
  3. Copy the SFTPxy folder to a location such as /Applications/SFTPxy or /usr/local/opt/SFTPxy.
  4. Open Terminal in that folder and start SFTPxy:
./SFTPxy serve -c .

Then open http://localhost:30080/.

launchd service

The repo includes init/com.github.jincaiw.SFTPxy.plist. It expects the Homebrew-style layout under /usr/local/opt/SFTPxy. If you install elsewhere, update the plist paths first.

Portable archive

tar -xf SFTPxy_v0.2.2_macOS_arm64.tar.xz
cd SFTPxy_v0.2.2_macOS_arm64
./SFTPxy serve -c .

中文

推荐:DMG 安装包

  1. Apple Silicon 下载 SFTPxy_v0.2.2_macOS_arm64.dmg,Intel Mac 下载 x86_64 DMG。
  2. 双击 DMG 挂载。
  3. 把 SFTPxy 目录复制到 /Applications/SFTPxy/usr/local/opt/SFTPxy
  4. 在该目录打开终端并启动:
./SFTPxy serve -c .

然后打开 http://localhost:30080/

launchd 服务

仓库提供 init/com.github.jincaiw.SFTPxy.plist,默认适配 /usr/local/opt/SFTPxy。如果安装到其他目录,请先修改 plist 路径。

便携压缩包

tar -xf SFTPxy_v0.2.2_macOS_arm64.tar.xz
cd SFTPxy_v0.2.2_macOS_arm64
./SFTPxy serve -c .