I had a play with this and I can't get it to work either. Whilst running 'ssh -tt bastion01 ssh -tt server01' does works from the command line, it doesn't work when used as a ProxyCommand in .ssh/config.
This makes sense though. When using ProxyCommand you're telling your ssh client to connect to a remote server, the hops in between are transparent to it. So, the private key needs to be on your local machine, not on some intermediate machine. If you're managing accounts and keys through Ansible, changing keys or removing an account shouldn't be a big deal. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8b4e0460-6ab3-4118-ba8e-64123a7c19d1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
