Skip to content

Make remote detection more reliable#7

Merged
BlakeWilliams merged 1 commit intomainfrom
bmw/remote-detection-fix
Feb 17, 2022
Merged

Make remote detection more reliable#7
BlakeWilliams merged 1 commit intomainfrom
bmw/remote-detection-fix

Conversation

@BlakeWilliams
Copy link
Owner

Sometimes SSH_TTY and SSH_CLIENT aren't set when in an ssh session,
so this checks three different potential environment variables that
indicate you're in a remote session.

  • SSH_TTY
  • SSH_CLIENT
  • SSH_CONNECTION

Sometimes `SSH_TTY` and `SSH_CLIENT` aren't set when in an ssh session,
so this checks three different potential environment variables that
indicate you're in a remote session.

* `SSH_TTY`
* `SSH_CLIENT`
* `SSH_CONNECTION`
Copy link
Contributor

@kenyonj kenyonj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@BlakeWilliams BlakeWilliams merged commit 0e2e040 into main Feb 17, 2022
@BlakeWilliams BlakeWilliams deleted the bmw/remote-detection-fix branch February 17, 2022 15:24
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

Successfully merging this pull request may close these issues.

2 participants