帕布利 2021-12-11 14:29 采纳率: 100%
浏览 215
已结题

CentOS7.5系统SSH 用户名@IP回车无反应

######SSH 用户名@IP回车无反应

[eproot@qfgwxmyptcsfwq1 ~]$ ssh -vvv root@10.8.90.191
          OpenSSH_8.6p1, OpenSSL 1.1.1k  25 Mar 2021
          debug1: Reading configuration data /etc/ssh/ssh_config
          debug2: resolve_canonicalize: hostname 10.8.90.191 is address
          debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/eproot/.ssh/known_hosts'
          debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/eproot/.ssh/known_hosts2'
          debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
          debug3: ssh_connect_direct: entering
          debug1: Connecting to 10.8.90.191 [10.8.90.191] port 22.
          debug3: set_sock_tos: set socket 3 IP_TOS 0x48
          debug1: Connection established.
          debug1: identity file /home/eproot/.ssh/id_rsa type -1
          debug1: identity file /home/eproot/.ssh/id_rsa-cert type -1
          debug1: identity file /home/eproot/.ssh/id_dsa type -1
          debug1: identity file /home/eproot/.ssh/id_dsa-cert type -1
          debug1: identity file /home/eproot/.ssh/id_ecdsa type -1
          debug1: identity file /home/eproot/.ssh/id_ecdsa-cert type -1
          debug1: identity file /home/eproot/.ssh/id_ecdsa_sk type -1
          debug1: identity file /home/eproot/.ssh/id_ecdsa_sk-cert type -1
          debug1: identity file /home/eproot/.ssh/id_ed25519 type -1
          debug1: identity file /home/eproot/.ssh/id_ed25519-cert type -1
          debug1: identity file /home/eproot/.ssh/id_ed25519_sk type -1
          debug1: identity file /home/eproot/.ssh/id_ed25519_sk-cert type -1
          debug1: identity file /home/eproot/.ssh/id_xmss type -1
          debug1: identity file /home/eproot/.ssh/id_xmss-cert type -1
          debug1: Local version string SSH-2.0-OpenSSH_8.6
运行结果及报错内容
能ping、telnet 22端口能通,Windows电脑能SSH进入目标服务器
求解答
  • 写回答

2条回答 默认 最新

  • IT民工金鱼哥 新星创作者: 运维技术领域 2021-12-11 15:26
    关注

    意思是,在win中,可以使用相关工具 SSH进入到目标服务器,然后在现在机器上,ssh 过去没回应?


    从输出中,我看到一个问题,这用户中的 .ssh/known_hosts 文件存在2个,一般只存在一个,你可以尝试将2个文件都删除,再重新ssh 获取指纹登记时,选择yes,

    这样操作试下

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 12月22日
  • 已采纳回答 12月14日
  • 创建了问题 12月11日