【文件传输工具】trzsz ( trz / tsz ) 发布 v1.1.8,支持后台传输,只要加上 -f 参数即可,如 trz -f 和 tsz -f xxx。
服务端开源 GitHub:https://github.com/trzsz/trzsz-go
客户端开源 GitHub:https://github.com/trzsz/trzsz-ssh
服务端安装方法
-
Ubuntu 可用 apt 安装
sudo apt install trzszsudo apt update && sudo apt install software-properties-common sudo add-apt-repository ppa:trzsz/ppa && sudo apt update sudo apt install trzsz -
Debian 可用 apt 安装
sudo apt install trzszsudo apt install curl gpg curl -s 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7074ce75da7cc691c1ae1a7c7e51d1ad956055ca' \ | gpg --dearmor -o /usr/share/keyrings/trzsz.gpg echo 'deb [signed-by=/usr/share/keyrings/trzsz.gpg] https://ppa.launchpadcontent.net/trzsz/ppa/ubuntu jammy main' \ | sudo tee /etc/apt/sources.list.d/trzsz.list sudo apt update sudo apt install trzsz -
Linux 可用 yum 安装
sudo yum install trzsz-
国内推荐使用 wlnmp 源,安装 trzsz 只需要添加 wlnmp 源( 配置 epel 源不是必须的 ):
curl -fsSL "https://sh.wlnmp.com/wlnmp.sh" | bash sudo yum install trzsz -
也可使用 gemfury 源( 只要网络通,所有操作系统通用 )
echo '[trzsz] name=Trzsz Repo baseurl=https://yum.fury.io/trzsz/ enabled=1 gpgcheck=0' | sudo tee /etc/yum.repos.d/trzsz.repo sudo yum install trzsz
-
-
ArchLinux 可用 yay 安装
yay -S trzszyay -Syu yay -S trzsz -
MacOS 可用 homebrew 安装
brew install trzsz-gobrew update brew install trzsz-go -
Windows 可用 scoop / winget / choco 安装
scoop install trzsz/winget install trzsz/choco install trzszscoop install trzszwinget install trzszchoco install trzsz -
用 Go 直接安装( 要求 go 1.20 以上 )
go install github.com/trzsz/trzsz-go/cmd/...@latestgo install github.com/trzsz/trzsz-go/cmd/trz@latest go install github.com/trzsz/trzsz-go/cmd/tsz@latest go install github.com/trzsz/trzsz-go/cmd/trzsz@latest安装后,
trzsz程序一般位于~/go/bin/目录下( Windows 一般在C:\Users\your_name\go\bin\)。 -
可从 Releases 中直接下载适用的版本
或者用 Go 编译( 要求 go 1.20 以上 )git clone https://github.com/trzsz/trzsz-go.git cd trzsz-go make sudo make install
客户端推荐安装 trzsz-ssh ( tssh )
-
Windows 可用 scoop / winget / choco 安装
scoop install tssh/winget install tssh/choco install tsshscoop install tsshwinget install tsshchoco install tssh -
MacOS 可用 homebrew 安装
brew install trzsz-sshbrew update brew install trzsz-ssh
-
Ubuntu 可用 apt 安装
sudo apt install tsshsudo apt update && sudo apt install software-properties-common sudo add-apt-repository ppa:trzsz/ppa && sudo apt update sudo apt install tssh
-
Debian 可用 apt 安装
sudo apt install tsshsudo apt install curl gpg curl -s 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x7074ce75da7cc691c1ae1a7c7e51d1ad956055ca' \ | gpg --dearmor -o /usr/share/keyrings/trzsz.gpg echo 'deb [signed-by=/usr/share/keyrings/trzsz.gpg] https://ppa.launchpadcontent.net/trzsz/ppa/ubuntu jammy main' \ | sudo tee /etc/apt/sources.list.d/trzsz.list sudo apt update sudo apt install tssh
-
Linux 可用 yum 安装
sudo yum install tssh-
国内推荐使用 wlnmp 源,安装 tssh 只需要添加 wlnmp 源( 配置 epel 源不是必须的 ):
curl -fsSL "https://sh.wlnmp.com/wlnmp.sh" | bash sudo yum install tssh
-
也可使用 gemfury 源( 只要网络通,所有操作系统通用 )
echo '[trzsz] name=Trzsz Repo baseurl=https://yum.fury.io/trzsz/ enabled=1 gpgcheck=0' | sudo tee /etc/yum.repos.d/trzsz.repo sudo yum install tssh
-
-
ArchLinux 可用 yay 安装
yay -S tsshyay -Syu yay -S tssh
-
用 Go 直接安装( 要求 go 1.21 以上 )
go install github.com/trzsz/trzsz-ssh/cmd/tssh@latestgo install github.com/trzsz/trzsz-ssh/cmd/tssh@latest安装后,
tssh程序一般位于~/go/bin/目录下( Windows 一般在C:\Users\your_name\go\bin\)。 -
用 Go 自己编译( 要求 go 1.21 以上 )
sudo make installgit clone --depth 1 https://github.com/trzsz/trzsz-ssh.git cd trzsz-ssh make sudo make install
-
可从 GitHub Releases 中下载,国内可从 Gitee 发行版 中下载,解压并加到
PATH环境变量中。