DEV Community

Roy
Roy

Posted on

ansible cannot connection after change ip of target

I tried ssh -O exit to close ssh control master socket, but it does not work, but I can connect use ssh directly. After add -vvvv to ansible command, I notice that ansible use ssh control path ~/.ansible/cp, that is different from what is setted in ~/.ssh/config

Top comments (0)

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