deepin终端远程登录出错
Tofloor
poster avatar
xiaojia
deepin
2019-02-14 19:07
Author
今天 ssh 登录阿里云,终端报错,所示:
  1. expect -f /tmp/deepin-terminal-6XWCXZ
  2. spawn /usr/lib/deepin-terminal/zssh -X -o ServerAliveInterval=60 root@ip -p 22 -o PubkeyAuthentication=no -t echo 欢迎使用深度终端, 在您使用右键菜单进行上传和下载文件之前, 请先确保服务器已经安装了rz和sz命令。 && exec $SHELL -l
  3. Press ^@ (C-Space) to enter file transfer mode, then ? for help

  4. ssh_exchange_identification: read: Connection reset by peer
  5. spawn_id: spawn id exp4 not open
  6.     while executing
  7. "interact"
  8.     (file "/tmp/deepin-terminal-6XWCXZ" line 61)
Copy the Code


已经试过的方法:
  • 安装zssh:老王的帖子:https://bbs.deepin.org/post/146462##=1
  • apt update  &&  apt upgrade
  • 卸载重装终端
  • 阿里云的解决方案:https://help.aliyun.com/knowledge_detail/41485.html


都没有解决...


Reply Favorite View the author
All Replies
avatar
xiaojia
deepin
2019-02-14 22:10
#1
本帖最后由 xiaojia 于 2019-2-14 14:11 编辑
  1. ssh -v root@ip
  2. OpenSSH_7.7p1 Debian-2, OpenSSL 1.0.2o  27 Mar 2018
  3. debug1: Reading configuration data /etc/ssh/ssh_config
  4. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  5. debug1: Connecting to ip [ip] port 22.
  6. debug1: Connection established.
  7. debug1: identity file /home/xj/.ssh/id_rsa type 0
  8. debug1: key_load_public: No such file or directory
  9. debug1: identity file /home/xj/.ssh/id_rsa-cert type -1
  10. debug1: key_load_public: No such file or directory
  11. debug1: identity file /home/xj/.ssh/id_dsa type -1
  12. debug1: key_load_public: No such file or directory
  13. debug1: identity file /home/xj/.ssh/id_dsa-cert type -1
  14. debug1: key_load_public: No such file or directory
  15. debug1: identity file /home/xj/.ssh/id_ecdsa type -1
  16. debug1: key_load_public: No such file or directory
  17. debug1: identity file /home/xj/.ssh/id_ecdsa-cert type -1
  18. debug1: key_load_public: No such file or directory
  19. debug1: identity file /home/xj/.ssh/id_ed25519 type -1
  20. debug1: key_load_public: No such file or directory
  21. debug1: identity file /home/xj/.ssh/id_ed25519-cert type -1
  22. debug1: key_load_public: No such file or directory
  23. debug1: identity file /home/xj/.ssh/id_xmss type -1
  24. debug1: key_load_public: No such file or directory
  25. debug1: identity file /home/xj/.ssh/id_xmss-cert type -1
  26. debug1: Local version string SSH-2.0-OpenSSH_7.7p1 Debian-2
  27. ssh_exchange_identification: read: Connection reset by peer
Copy the Code
Reply View the author
avatar
markyin
deepin
2019-03-14 22:37
#2
我也遇到这个问题了,急求解决办法!
Reply View the author
avatar
songyz
deepin
2019-06-15 18:48
#3
该怎么解决呢
Reply View the author
avatar
走钢丝
deepin
2019-06-15 19:19
#4
本帖最后由 lidanger 于 2019-6-15 11:22 编辑

同样阿里云,lrzsz 都没安装,也没有配置 ~/.ssh,直接在终端配置用户名密码,一次就成功了啊。

不好意思,是两次,密码太多记不住,第一次输错了。

Reply View the author