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

zssh file transfer #12

Open
manfred-kaiser opened this issue Jun 29, 2020 · 1 comment
Open

zssh file transfer #12

manfred-kaiser opened this issue Jun 29, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@manfred-kaiser
Copy link
Member

zssh can be used to transfer files. unlike scp or sftp, zssh uses z-modem over ssh.

https://www.linux-community.de/ausgaben/linuxuser/2020/07/daten-mit-ssh-und-zssh-ueber-langsame-verbindungen-transferieren/

@manfred-kaiser manfred-kaiser added the enhancement New feature or request label Jun 29, 2020
@manfred-kaiser
Copy link
Member Author

when using zssh with ssh-mitm, some random bytes are executed as command. Without ssh-mitm only the bytes are printed to the terminal, but they are not executed.

Example session with ssh-mitm:

user@devbox:~$ zssh -p 10022 127.0.0.1
Press ^@ (C-Space) to enter file transfer mode, then ? for help

[email protected]'s password: 

user@remotebox:~$ sz /bin/bash
�*B00000000000000
zssh > rz
Empfange: bash                                                       
Bytes empfangen:1183448/1183448   BPS:14712349                

Übertragung abgeschlossen
**0800000000022d: Befehl nicht gefunden.
user@remotebox:~$ �**0800000000022d
\udc8a**0800000000022d: Befehl nicht gefunden.
user@remotebox:~$ exit
Abgemeldet
Connection to 127.0.0.1 closed.

@manfred-kaiser manfred-kaiser removed this from the Release 0.6.0 milestone Apr 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant