ssh连接不上

     之前执行ssh ip命令一直ok,  最近换环境了, 执行ssh ip命令, 登录不了, 卡住。

     man一下, 知道有个-v的用法:

     -v      Verbose mode.  Causes ssh to print debugging messages about its progress.  This is helpful
             in debugging connection, authentication, and configuration problems.  Multiple -v options
             increase the verbosity.  The maximum is 3.

     试下: ssh ip -vvv, 结果:

OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /Users/taoge/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: auto-mux: Trying existing master
debug1: Control socket "/tmp/[email protected]:22" does not exist
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 10.129.103.132 port 22.
ssh: connect to host 10.129.103.132 port 22: Operation timed out

      更新下config, 搞定问题。

      简单。

发布了2213 篇原创文章 · 获赞 4564 · 访问量 1977万+

猜你喜欢

转载自blog.csdn.net/stpeace/article/details/99757727
今日推荐