Hello,
I currently have a host that is accessed saw ssh tunnel, I need to manage that host with ansible. How can I do that?
To connect to the host I use the command: ssh -N -R 10000: localhost: 22 user@hostX.
I added this command on a .sh file and run:
ssh -t user@otherserver "./file.sh"
Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/_J9nWHVzIPg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DJqBcSuaKEwA8mpoVt6NG2ovsA2tBtmwQ6Y0%3DiWfgOcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAPav1BvskznFx2sNuqTRb%3Di-h_SfAAq%3Di5j%3Dr85WPUtKn1tcVg%40mail.gmail.com.
Never really looked into it, but if/when using netcat, does that mean that from your proxy host / bastion to the target host, the connection is in clear text? I would assume that to be the case?
Alex
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/56807E40.2020102%40night-shade.org.uk.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACSH3MtSkL3jUNtjNZ6BN3aq9iU3WvdBQVS6TM8bMQieWemSfA%40mail.gmail.com.