edc/bass

Bass and ssh-agent aren't interacting well on Linux

ankurkotwal opened this issue · 3 comments

When I run bass ssh-agent, it always gets stuck in foreground mode and doesn't exit. This also happens if ssh-agent is being run from within a bash script. I'm running the latest bass (as of 28th April 2021) and fish shel v3.1 on Ubuntu 20.04 (via WSL). If I run ssh-agent from fish (via bash -c ssh-agent), it runs and exits as per normal.

I confirmed this same behavoiur on Ubuntu 18.04 (bare metal, no WSL) running fish v3.1.2. Any suggestions why it could be behaving like this? I need to run ssh-agent during my login script so that my private keys are accessible.

Thanks!

edc commented

@ankurkotwal does @hellow554's advice work for you? If not, I will look into it during the weekend.

Thank you @hellow554 and @edc! That plugin works well.