iterative / dvc-ssh

SSH/SFTP plugin for dvc
Apache License 2.0
1 stars 2 forks source link

ssh: catch EOFError from getpass #48

Closed efiop closed 1 year ago

efiop commented 1 year ago

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