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

ssh: catch EOFError from getpass #48

Merged
merged 1 commit into from
Aug 10, 2023
Merged

ssh: catch EOFError from getpass #48

merged 1 commit into from
Aug 10, 2023

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Aug 10, 2023

If getpass is unable to get input from stderror or stdin, it will raise this error.

Similar to how we do it in dvc https://github.com/iterative/dvc/blob/04e891cef929567794ade4e0c2a1bf399666f66e/dvc/ui/__init__.py#L268

If getpass is unable to get input from stderror or stdin, it will raise this error.

Similar to how we do it in dvc https://github.com/iterative/dvc/blob/04e891cef929567794ade4e0c2a1bf399666f66e/dvc/ui/__init__.py#L268
@efiop efiop merged commit cd301c8 into main Aug 10, 2023
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.

1 participant