zssh 用法是: 像用ssh命令一样用zssh登录主机; 在命令输入状态中按下ctrl+2(@键)进入zssh状态; $sz 本地文件名 [可选参数-be:二进制方式] 上传文件完成(我在用时输出了一些乱码,但没影响上传) 下载是反出来的,先sz文件再ctrl+2再输入rz
更新:在archlinux上安装zssh须在AUR中找包,安装时依赖没有解决好,还需要安装lrzsz,否则在下载文件时会报:execvp rz zssh,同时整个终端挂掉。
To install zssh just follow these instructions. which first check that the universe repository is enabled and then installs the package for you
Edit the /etc/apt/sources.list
file as root
and make sure that the universe
component is included in the source lines.
It should look like this
After any changes you should run
You can now install as below.
Which will install zssh and 4 dependencies.
You can always uninstall zssh again by following these instructions.
ubuntu saucy install package
This will remove just the zssh package itself.
This will remove the zssh package and any other packages on which it alone depends.
Purged config/data can not be restored by reinstalling the package.
If you also want to delete your local/config files for zssh then you should swap remove
for purge
like this:
Or again, like this:
来源:installion.co.uk/ubuntu/saucy/universe/z/zssh/install.html
zssh的全名叫ZMODEM SSH.看名字就知道,使用的zmodem,我们习惯了SecureCRT,直接就可以用来发送文件,比使用scp方便很多。
zmodem协议方便主要表示在以下点
其一,不需要输入很长的命令和密码,直接使用rz,sz加文件名,就能实现文件的收发。速度还很快。
其二,在中转了一台主机时,要在目标主机和本地主机之类,要传送文件,scp相当的麻烦,需要输入多次命令用户密码.但sz直接可以穿透。
好了,讲使用,如下,和使用ssh完全一样,只是打命令时,变成了zssh
好了,在进入后,你需要上传文件的话。先
下载文件的话
更多命令查看:http://zssh.sourceforge.net/
来源:http://www.cnblogs.com/strikebone/p/3454679.html