table of contents
ZSSH(1) | ZSSH | ZSSH(1) |
NAME¶
zssh - interactive file transfer wrapper for sshSYNOPSIS¶
zssh [zssh options] [--] [ssh options]DESCRIPTION¶
zssh (Zmodem SSH) is a program for interactively transferring files to a remote machine while using the secure shell ( ssh ). It is intended to be a convenient alternative to scp , allowing to transfer files without having to open another session and re-authenticate oneself.- cd <dir>
- change current directory
- disconnect
- disconnect and exit
- escape [^X]
- Change escape key to ^X. Without argument, print current
escape key
- exit
- exit file transfer mode. ^D may also be used for this
purpose.
- help
- print help and tips
- ?
-
- hook prg [args]
- Hook program 'prg' on the the pty. Its standard input and
output will go through the ssh channel.
- quit
- same as exit.
- repeat
- repeats cmd forever (^C to interrupt). Useful for example
if you use a remote script invoking "sz" and you don't want to
be typing "rz" each time... Remember however that several files
can be transferred by a single sz/rz pair so this is not usually necessary
to use repeat.
- rz
- Receive files from the remote machine. runs rz and plugs the process on the ssh connection. running sz on the REMOTE machine is required :
- 1)
- run `sz <remote_file> ...' from the remote machine shell
- 2)
- press the escape sequence (C-space) to enter file transfer mode
- 3)
- run the `rz' builtin
- suspend
- suspend zssh (back to the local machine shell)
- sz <file> ...
- Send files to the remote machine. runs sz and plugs the
process on the ssh connection. There is no need to manually run rz on the
remote side.
- version
- print version information
OPTIONS¶
- -f
- --force
- Do not ask user any question
- --help
- show basic help
- --shell cmd
- run cmd as remote shell instead of the default "ssh -e
none" (zssh) or "telnet -8 -E" (ztelnet)
- --version
- show version
- --zssh-escape ^X
- set escape sequence to ^X
ENVIRONMENT¶
- ZSSHESCAPE
- Setting the ZSSHESCAPE environment variable allows to
override the default escape sequence. ZSSHESCAPE should contain only two
characters of the form `^X', meaning that ^X is to be the new escape
sequence.
REQUIREMENTS¶
- ssh/telnet/...
- the remote shell to be executed (local machine)
- sz rz
- zmodem send and receive programs. Should be both on local and remote machine, and (hopefully) of compatible versions.
TIPS¶
Bytes Sent: 38144/4610624 BPS:3424 ETA 22:15
or
Bytes Sent: 0/ 513 BPS:0 ETA 00:00 Retry 0: Got ZCAN
can be seen, but transfer never completes
BUGS / LIMITATIONS¶
CREDITS¶
ttssh's author - Robert O'Callahan - for the original ideaAUTHOR¶
Matthieu Lucotte <gounter@users.sourceforge.net>SEE ALSO¶
ssh(1), telnet(1), scp(1), sz(1), rz(1), readline(3),June 26, 2000 | ZSSH |