I need to create an SSH tunnel, forwarding specific port to use a service available on a remote server. I couldn’t find an Action in the market.
What are the available solutions? I’ve tried the following to no avail: Created two steps.
In one I setup all the SSH details and created the SSH tunnel to my remote server
try to ping / access the service
- name: Creating SSH tunnel run: | # created SSH stuff.. ssh -L 4873:192.168.0.10:4873 remote-server-details -T & - name: ping the remote service run: | telnet localhost 4873
But unfortunately in the second step I cannot ping the first one despite the tunnel is created successfully.