stechstudio / laravel-ssh-tunnel

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

Unable to disable -i option, which breaks authenticating via ssh-agent #45

Closed paulcdejean closed 1 year ago

paulcdejean commented 3 years ago

Hello in a local dev environment we are using ssh-agent: https://www.ssh.com/ssh/agent

However this library forces ssh to use the -i option, which disables authenticating via ssh agent.

When the TUNNELER_IDENTITY_FILE option is unset, the -i option should be excluded.

bubba-h57 commented 3 years ago

Check out https://github.com/stechstudio/laravel-ssh-tunnel/pull/49 and let me know if that solves the issue for you.