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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

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

Okay