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

support local connections without ssh #11

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

fmessmer
Copy link
Contributor

@fmessmer
Copy link
Contributor Author

fmessmer commented Jul 15, 2024

Why can we not just mount the local ssh settings into the Dev Container?

Has this been tested for upstarts without DevContainers being involved?

@@ -132,6 +133,9 @@ def __init__(self, user, hostname, port=DEFAULT_PORT):
# check if user has sudo privileges
self._sudo_user = True if os.getuid() == 0 else False

self._use_local_connection = self._hostname == "localhost" \
Copy link
Contributor

Choose a reason for hiding this comment

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

localhost could also be 127.0.0.1

@fmessmer
Copy link
Contributor Author

I considered @benmaidel's comment plus some additional pylint fixes and also bumped the robmuxinator version

@cmaneth can you make me collaborator, so I can push my changes to your branch?
then, I can merge this contribution...

@fmessmer fmessmer merged commit 301997d into 4am-robotics:main Jul 17, 2024
1 check passed
@fmessmer fmessmer deleted the feature/local_connection branch July 17, 2024 09:42
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.

3 participants