deepin15.11桌面版 远程管理(ctrl+/)的一些问题。
Tofloor
poster avatar
tlmyt
deepin
2020-03-28 03:30
Author
工作原因需要使用SSH登录交换机、路由器、防火墙等设备,使用ssh  用户名@设备地址可以正常登录
  1. windows@windows-PC:~$ ssh -v Admin@192.168.100.35
  2. OpenSSH_7.4p1 Debian-10+deb9u4, OpenSSL 1.0.2q  20 Nov 2018
  3. debug1: Reading configuration data /home/windows/.ssh/config
  4. debug1: /home/windows/.ssh/config line 2: Applying options for *
  5. debug1: Reading configuration data /etc/ssh/ssh_config
  6. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  7. debug1: Connecting to 192.168.100.35 [192.168.100.35] port 22.
  8. debug1: Connection established.
  9. debug1: key_load_public: No such file or directory
  10. debug1: identity file /home/windows/.ssh/id_rsa type -1
  11. debug1: key_load_public: No such file or directory
  12. debug1: identity file /home/windows/.ssh/id_rsa-cert type -1
  13. debug1: key_load_public: No such file or directory
  14. debug1: identity file /home/windows/.ssh/id_dsa type -1
  15. debug1: key_load_public: No such file or directory
  16. debug1: identity file /home/windows/.ssh/id_dsa-cert type -1
  17. debug1: key_load_public: No such file or directory
  18. debug1: identity file /home/windows/.ssh/id_ecdsa type -1
  19. debug1: key_load_public: No such file or directory
  20. debug1: identity file /home/windows/.ssh/id_ecdsa-cert type -1
  21. debug1: key_load_public: No such file or directory
  22. debug1: identity file /home/windows/.ssh/id_ed25519 type -1
  23. debug1: key_load_public: No such file or directory
  24. debug1: identity file /home/windows/.ssh/id_ed25519-cert type -1
  25. debug1: Enabling compatibility mode for protocol 2.0
  26. debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u4
  27. debug1: Remote protocol version 2.0, remote software version -
  28. debug1: no match: -
  29. debug1: Authenticating to 192.168.100.35:22 as 'Admin'
  30. debug1: SSH2_MSG_KEXINIT sent
  31. debug1: SSH2_MSG_KEXINIT received
  32. debug1: kex: algorithm: diffie-hellman-group-exchange-sha1
  33. debug1: kex: host key algorithm: ssh-rsa
  34. debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
  35. debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
  36. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<8192<8192) sent
  37. debug1: got SSH2_MSG_KEX_DH_GEX_GROUP
  38. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  39. debug1: got SSH2_MSG_KEX_DH_GEX_REPLY
  40. debug1: Server host key: ssh-rsa SHA256:SH46WBApo1pMS1a2I4fqwF9lOj6Qa1rFJmFDC9GwOkg
  41. debug1: Host '192.168.100.35' is known and matches the RSA host key.
  42. debug1: Found key in /home/windows/.ssh/known_hosts:1
  43. debug1: rekey after 4294967296 blocks
  44. debug1: SSH2_MSG_NEWKEYS sent
  45. debug1: expecting SSH2_MSG_NEWKEYS
  46. debug1: SSH2_MSG_NEWKEYS received
  47. debug1: rekey after 4294967296 blocks
  48. debug1: SSH2_MSG_SERVICE_ACCEPT received
  49. debug1: Authentications that can continue: publickey,keyboard-interactive,password
  50. debug1: Next authentication method: publickey
  51. debug1: Trying private key: /home/windows/.ssh/id_rsa
  52. debug1: Trying private key: /home/windows/.ssh/id_dsa
  53. debug1: Trying private key: /home/windows/.ssh/id_ecdsa
  54. debug1: Trying private key: /home/windows/.ssh/id_ed25519
  55. debug1: Next authentication method: keyboard-interactive
  56. User Authentication
  57. Password:
  58. debug1: Authentication succeeded (keyboard-interactive).
  59. Authenticated to 192.168.100.35 ([192.168.100.35]:22).
  60. debug1: channel 0: new [client-session]
  61. debug1: Entering interactive session.
  62. debug1: pledge: network
  63. debug1: Sending environment.
  64. debug1: Sending env LANG = zh_CN.UTF-8

  65. Info: The max number of VTY users is 10, and the number
  66.       of current VTY users on line is 1.
  67.       The current login time is 2020-03-27 19:22:56+08:00.
Copy the Code
但是使用管理器登录却会秒退
  1. expect -f /tmp/deepin-terminal-7WO7H0
  2. windows@windows-PC:~$ expect -f /tmp/deepin-terminal-7WO7H0
  3. 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
  4. Press ^@ (C-Space) to enter file transfer mode, then ? for help

  5. User Authentication
  6. Password:
  7. X11 forwarding request failed on channel 0

  8. Info: The max number of VTY users is 10, and the number
  9.       of current VTY users on line is 2.
  10.       The current login time is 2020-03-27 19:26:30+08:00.

  11. Info: The max number of VTY users is 10, and the number
  12.       of current VTY users on line is 1.packet_write_wait: Connection to 192.168.100.35 port 22: Broken pipe
  13. windows@windows-PC:~$
Copy the Code
有没有大神能帮忙看看问题出在哪?
Reply Favorite View the author
All Replies
avatar
zengjinc
deepin
2021-10-08 21:32
#1

解决了吗?有没有什么解决方案

Reply View the author