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

Handle local env variable in SSH profile configuration #6205

Closed
woodmeal opened this issue Apr 19, 2022 · 1 comment
Closed

Handle local env variable in SSH profile configuration #6205

woodmeal opened this issue Apr 19, 2022 · 1 comment

Comments

@woodmeal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I've to deal with several SSH connections with the same user and I'd like to be able to just have to write $USER or something like this when I'm adding a new SSH profile.

screenshot cleaned

Describe the solution you'd like
Adding an if statement to check if the first char is a $ and replace it by the env variable of the input would be the easiest solution though I'm not sure if it's possible to read env variables(that are not in a .env file) from an electron app.

@woodmeal woodmeal changed the title Handle local env variable to SSH profile configuration Handle local env variable in SSH profile configuration Apr 19, 2022
@woodmeal
Copy link
Contributor Author

I also thought about a checkbox under username to use the current user

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

1 participant