ssh服务器配置的小问题

ssh服务配置的小问题

Connecting to
Could not connect to xxx (port xx) : Connection failed

自己浪费了2h来连接ssh,最后发现是ip地址弄错了

ifconfig 或者ip -a之后,会出来几个东西,lo、docker0,eth0,eth1
一开始一直把docker的地址当作了目标来连,最后发现ssh要用eth0的地址来连
网络还得好好学习

猜你喜欢

转载自blog.csdn.net/u012397583/article/details/83715137