Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
为什么用深度终端无法直接使用rz和sz命令传输文件
deepin Talks
3008
views ·
6
replies ·
To
floor
Go
Feelup
deepin
2017-03-10 00:19
Author
为什么我用深度终端ssh登陆服务器,但却无法直接使用rz和sz命令传输文件,只能通过添加服务器的方式登陆才能使用文件传输功能
Reply
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-03-10 01:01
#1
安装这2个包了吗?
Reply
Like 0
View the author
Feelup
deepin
2017-03-10 01:43
#2
本帖最后由 Feelup 于 2017-3-9 17:52 编辑
https://bbs.deepin.org/post/135827
安装这2个包了吗?
服务器安装了,Windows下xshell访问时用该命令没问题。但用深度终端的话(ssh登陆时),用这个命令服务器端有反应,但是却无法弹出选择文件的对话框。对啦,顺便问一下,现在我用终端的服务器管理功能登陆时会弹出这些提示,导致无法登陆,提示如下:Received disconnect from 服务器ip地址 port 访问端口:11: token GATE 'exec' not supported, please try login from web SSO
Disconnected from 服务器ip地址 port 访问端口
服务器地址用的是url的格式,当然换成ip地址也是一样的提示,但是使用ssh命令登陆又是正常的!
Reply
Like 0
View the author
wangyong
deepin
2017-03-10 03:54
#3
rz 和 sz 要配合各种参数和流程来使用才行
Reply
Like 0
View the author
wangyong
deepin
2017-03-10 03:55
#4
深度终端远程服务器是用 zssh 来登录的
Reply
Like 0
View the author
159******54
deepin
2017-03-10 05:22
#5
我通常是用sftp或者scp来传输文件的
Reply
Like 0
View the author
Feelup
deepin
2017-03-11 02:26
#6
哦,原来如此。多谢各位!那我把使用方法贴出来吧,方便其他人。
与使用ssh完全一样,只是命令变成了zssh
#zssh
https://bbs.deepin.org/module
#这就是普通的登陆系统,别想太多!
上传文件
先按一下组合键
#ctrl+@
zssh > //这里切换到了本地机器
zssh>pwd //看一下本地机器的目录在那
zssh>ls //看一下有那些文件,还能随意的切换目录哦
zssh>sz 123.txt //例如上传本地机器的当前目录的123.txt到远程机器的当前目录,上传完成后会显示Transfer complete的提示,然后回车键回到正常的命令界面
下载文件
#sz 123.txt //在远程服务器上,启动sz, 准备发送文件123.txt到本地计算机
这时会看到一堆乱码
按组合键
#ctrl+@
zssh > pwd //看看在那个目录,cd 切换到合适的目录
zssh > rz //开始接收上面的123.txt文件;注意哦,这里只需输入rz这个命令就可以了
说明:在中转了一台主机时,要在目标主机和本地主机之间传送文件,scp相当的麻烦,需要输入多次命令用户密码.但sz直接可以直接穿透,所以很推荐哦!
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More