esonic / sshz

A command line tool adds sz/rz support for windows terminal in WSL
14 stars 4 forks source link

SSHZ

A command line tool wraps ssh client and adds rz/sz support for Windows Terminal in WSL.

Prerequisite

  1. Make sure rz/sz installed in WSL, eg. sudo apt install lrzsz in Debian.
  2. Make sure Golang installed in WSL. https://go.dev/doc/install

Tested with Windows 11 and WSL2, should work in Windows 10 and WSL1 as well.

Installation

Run the following command in WSL to install the tool:

go install github.com/esonic/sshz@latest

The tool will be installed in $GOPATH/bin.

Usage

The tool can be used as same as ssh. eg. sshz someone@127.0.0.1

The file dialog will appear when call rz or sz.

image

Known Issues

Interactive password authentication malfunction, only Key-Based authentication can be used.