ssh remove cm_socket session

If you still can get access to server without password after logout it means you have SSH ControlMaster session on your ~/.ssh/cm_socket/

So:
ls -la ~/.ssh/cm_socket/ | grep 132.168.2.100
root@132.168.2.100:22

rm -rf ~/.ssh/cm_socket/root@132.168.2.100:22

Another way: ssh -O stop 132.168.2.100

Leave a Reply

Your email address will not be published. Required fields are marked *