Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ankurkotwal opened this issue Apr 28, 2021 · 3 comments
Closed

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

ankurkotwal opened this issue Apr 28, 2021 · 3 comments

Comments

@ankurkotwal
Copy link

ankurkotwal commented Apr 28, 2021

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!

@hellow554
Copy link

I would suggest to use https://github.com/danhper/fish-ssh-agent

@edc
Copy link
Owner

edc commented Jul 19, 2021

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

@ankurkotwal
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants