stechstudio / laravel-ssh-tunnel

Easy creation & maintenance of an SSH Tunnel for Laravel/Lumen
MIT License
191 stars 46 forks source link

Tunnel created but still returned error #40

Closed anujkaushal closed 4 years ago

anujkaushal commented 4 years ago

When you run the activate command it creates the tunnel but still return error. Also when you run the command again it verifies that tunnel already exists. image

anujkaushal commented 4 years ago

My configurations: TUNNELER_VERIFY_PROCESS=ssh TUNNELER_CONN_WAIT=1000000 TUNNELER_SSH_OPTIONS="-o StrictHostKeyChecking=no"

bubba-h57 commented 4 years ago

I have not been able to reproduce the problem, and thus can't rightly troubleshoot it. Have you made any progress in sorting it out yourself?

cearls commented 4 years ago

I am getting the same error even though the tunnel is created. I use Homestead for local dev and thought it might be that, but it is doing it in production as well.

I'll see what I can find out.

cearls commented 4 years ago

I got this worked out. I realized you can't use ssh as a verify process. So, I double-checked my nc path, and it was wrong. It should have been /bin/nc vs. /usr/bin/nc.

@bubba-h57 Thanks for the great package!

bubba-h57 commented 4 years ago

That is outstanding and thanks for the encouragement as well!