DEV Community

Roy
Roy

Posted on

ssh login to the wrong machine

今天试图ssh登陆一台腾讯云服务器,发现登陆到一台阿里云的服务器上去了,甚至指定ip连都能登陆进错误的机器,这对我来说跟见鬼差不多,若是别人跟我说有这种现象,我是肯定认为他自己搞错了。从别的地方连,就不会有这种问题,从windows或者 wsl 连都出现这种奇怪的现象,猜测哪里出现bug了,重启windows后就恢复正常了。

我应该测试下只有目标机器而错误登陆的机器上没有开放的端口,判断是否是网络层面的问题。

我使用windows 的openssh 客户端和 wsl中的openssh客户端连,都有问题,应该尝试使用 xshell 去连

Top comments (1)

Collapse
 
aheisleycook profile image
privatecloudev

Not sure how to traslate

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay