Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lrzsz support #988

Open
kavsion opened this issue Apr 10, 2022 · 5 comments
Open

lrzsz support #988

kavsion opened this issue Apr 10, 2022 · 5 comments
Labels
Feature requests Feature Requests

Comments

@kavsion
Copy link

kavsion commented Apr 10, 2022

Discord username (optional)

ababa

Describe the solution you'd like?

I am a Mac user, but I often need to use the bastion machine to connect to the server. Sometimes I use the lrzsz command to upload and download. I used item2 before to configure a specific script, so I would like to ask if lrzsz can be added. What about this useful upload and download function?

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

@elviskahoro
Copy link
Member

This makes sense. Thanks for reporting. I think it'd be cool to add some native support for stuff like this as well

@warpdotdev-devx
Copy link
Member

warpdotdev-devx commented Oct 11, 2022 via email

@cybercarrot
Copy link

it works with warp https://trzsz.github.io/go, @kavsion have a try

@lonnywong
Copy link

lonnywong commented Nov 12, 2023

For anyone stuck on using lrzsz ( rz / sz ) in Warp. You can try trzsz ( trz / tsz ).

It is recommended to use trzsz-ssh ( tssh ), v0.1.13 supports the Warp specific features like Blocks.

# Install trzsz-ssh on your MacOS with Warp
brew update
brew install trzsz-ssh
sudo ln -sv $(which tssh) /usr/local/bin/ssh

# `ssh -V` should show "trzsz ssh 0.1.15"
ssh -V

# After ssh login, the Warp specific features like Blocks should work.
ssh remote_server

# Install trzsz-go on the remote server. Please check https://trzsz.github.io/go
brew install trzsz-go / yay -S trzsz / sudo apt install trzsz / sudo yum install trzsz / etc...

# Upload files like rz
trz

# Upload directories
trz -r

# Download files like sz
tsz file
tsz /path/to/file

# Download directories
tsz -r dir
tsz -r /path/to/dir

trzsz-ssh ( tssh ) v0.1.15 supports zmodem lrzsz ( rz / sz ):

# Install trzsz-ssh and lrzsz on local MacOS
brew update
brew install lrzsz
brew install trzsz-ssh
sudo ln -sv $(which tssh) /usr/local/bin/ssh

# `ssh -V` should show "trzsz ssh 0.1.15"
ssh -V

# Add the following configuration to ~/.ssh/config
Host *
    #!! EnableZmodem Yes

# After ssh login, the Warp specific features like Blocks should work.
ssh remote_server

# Now you can use rz / sz
rz
sz xxx

@jlcoding
Copy link

trzsz

cool man, is much better than lrzsz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests Feature Requests
Projects
None yet
Development

No branches or pull requests

7 participants