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)

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.