Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin15.11桌面版 远程管理(ctrl+/)的一些问题。
Experiences and Insight
489
views ·
1
replies ·
To
floor
Go
tlmyt
deepin
2020-03-28 03:30
Author
工作原因需要使用SSH登录交换机、路由器、防火墙等设备,使用ssh 用户名@设备地址可以正常登录
windows@windows-PC:~$ ssh -v Admin@192.168.100.35
OpenSSH_7.4p1 Debian-10+deb9u4, OpenSSL 1.0.2q 20 Nov 2018
debug1: Reading configuration data /home/windows/.ssh/config
debug1: /home/windows/.ssh/config line 2: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.100.35 [192.168.100.35] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/windows/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u4
debug1: Remote protocol version 2.0, remote software version -
debug1: no match: -
debug1: Authenticating to 192.168.100.35:22 as 'Admin'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: diffie-hellman-group-exchange-sha1
debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: ssh-rsa SHA256:SH46WBApo1pMS1a2I4fqwF9lOj6Qa1rFJmFDC9GwOkg
debug1: Host '192.168.100.35' is known and matches the RSA host key.
debug1: Found key in /home/windows/.ssh/known_hosts:1
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 4294967296 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,keyboard-interactive,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/windows/.ssh/id_rsa
debug1: Trying private key: /home/windows/.ssh/id_dsa
debug1: Trying private key: /home/windows/.ssh/id_ecdsa
debug1: Trying private key: /home/windows/.ssh/id_ed25519
debug1: Next authentication method: keyboard-interactive
User Authentication
Password:
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to 192.168.100.35 ([192.168.100.35]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending environment.
debug1: Sending env LANG = zh_CN.UTF-8
Info: The max number of VTY users is 10, and the number
of current VTY users on line is 1.
The current login time is 2020-03-27 19:22:56+08:00.
Copy the Code
但是使用管理器登录却会秒退
expect -f /tmp/deepin-terminal-7WO7H0
windows@windows-PC:~$ expect -f /tmp/deepin-terminal-7WO7H0
spawn /usr/lib/deepin-terminal/zssh -X -o ServerAliveInterval=60 tlmyt@192.168.100.35 -p 22 -o PubkeyAuthentication=no -t echo 欢迎使用深度终端, 在您使用右键菜单进行上传和下载文件之前, 请先确保服务器已经安装了rz和sz命令。 &&cd /home/text && exec $SHELL -l
Press ^@ (C-Space) to enter file transfer mode, then ? for help
User Authentication
Password:
X11 forwarding request failed on channel 0
Info: The max number of VTY users is 10, and the number
of current VTY users on line is 2.
The current login time is 2020-03-27 19:26:30+08:00.
Info: The max number of VTY users is 10, and the number
of current VTY users on line is 1.packet_write_wait: Connection to 192.168.100.35 port 22: Broken pipe
windows@windows-PC:~$
Copy the Code
有没有大神能帮忙看看问题出在哪?
Reply
Like 0
Favorite
View the author
All Replies
zengjinc
deepin
2021-10-08 21:32
#1
解决了吗?有没有什么解决方案
Reply
Like 0
View the author
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 Ranking
Change
WiFi Drivers
Popular Events
More