Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
15.10.1 Terminal远程管理的问题
Experiences and Insight
300
views ·
0
replies ·
To
floor
Go
hoshinomahiro
deepin
2019-06-01 01:03
Author
本帖最后由 hoshinomahiro 于 2019-5-31 17:04 编辑
终端的远程登录,如果配置的服务器设置了证书(证书带密码短语),密码就不会被传入 /usr/lib/deepin-terminal/ssh_login.sh 脚本里,没法自动登录。修改的脚本如图
执行输出:
spawn /usr/lib/deepin-terminal/zssh -X -o ServerAliveInterval=60 user@server.com -p 22 -o PubkeyAuthentication=yes -i /path/of/pub_key.rsa -t echo 欢迎使用深度终端, 在您使用右键菜单进行上传和下载文件之前, 请先确保服务器已经安装了rz和sz命令。 && exec $SHELL -l
Press ^@ (C-Space) to enter file transfer mode, then ? for help
Enter passphrase for key '/path/of/pub_key.rsa':
Copy the Code
$password 是空的,这是BUG么,求解答
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[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 Events
More
终端的远程登录,如果配置的服务器设置了证书(证书带密码短语),密码就不会被传入 /usr/lib/deepin-terminal/ssh_login.sh 脚本里,没法自动登录。修改的脚本如图
执行输出:
$password 是空的,这是BUG么,求解答