您现在的位置是:首页 > 文章详情

【文件传输工具】trzsz ( trz / tsz ) 发布 v1.1.8,支持后台传输

日期:2024-08-19点击:186

【文件传输工具】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 trzsz
     sudo 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 trzsz
     sudo 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 trzsz
     yay -Syu yay -S trzsz 
  • MacOS 可用 homebrew 安装

    brew install trzsz-go
     brew update brew install trzsz-go 
  • Windows 可用 scoop / winget / choco 安装

    scoop install trzsz / winget install trzsz / choco install trzsz
     scoop install trzsz 
     winget install trzsz 
     choco install trzsz 
  • 用 Go 直接安装( 要求 go 1.20 以上 )

    go install github.com/trzsz/trzsz-go/cmd/...@latest
     go 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 tssh
     scoop install tssh 
     winget install tssh 
     choco install tssh 
  • MacOS 可用 homebrew 安装

    brew install trzsz-ssh
     brew update brew install trzsz-ssh 
  • Ubuntu 可用 apt 安装

    sudo apt install tssh
     sudo 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 tssh
     sudo 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 tssh
     yay -Syu yay -S tssh 
  • 用 Go 直接安装( 要求 go 1.21 以上 )

    go install github.com/trzsz/trzsz-ssh/cmd/tssh@latest
     go 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 install
     git clone --depth 1 https://github.com/trzsz/trzsz-ssh.git cd trzsz-ssh make sudo make install 
  • 可从 GitHub Releases 中下载,国内可从 Gitee 发行版 中下载,解压并加到 PATH 环境变量中。

原文链接:https://www.oschina.net/news/307720/trzsz-1-1-8-released
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章