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

Use the value of $SSH_CLIENT #40

Open
danielcherubini opened this issue Apr 20, 2022 · 1 comment
Open

Use the value of $SSH_CLIENT #40

danielcherubini opened this issue Apr 20, 2022 · 1 comment

Comments

@danielcherubini
Copy link

Hi,

Great package, one thing I think you could do, which would make it work without configuration, is to use the $SSH_CLIENT environment variable, if it's populated, then get the IP address from there, otherwise use the rest of your logic.

OR

use what's in the config, then if that's empty use the SSH_CLIENT env

thoughts?

@marco-gallegos
Copy link

this sounds very cool

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

2 participants