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

ask_username option for ssh connections #24

Open
darshan-hindocha opened this issue Feb 2, 2023 · 0 comments
Open

ask_username option for ssh connections #24

darshan-hindocha opened this issue Feb 2, 2023 · 0 comments

Comments

@darshan-hindocha
Copy link

darshan-hindocha commented Feb 2, 2023

Currently if you want to hook up dvc to a fileserver you have to provide something like the following in the dvc config file

[core]
    remote = ssh-storage
['remote "ssh-storage"']
    url = ssh://path.to/model_registry
    port = 22
    user = user123
    ask_password = true

This means that I only have to put my password in when I run commands that require dvc to access the fileserver.

However, since this config file is checked in to git and used by others I would find it useful to have an ask_username option like the ask_password flag. This means everyone can share this config file without having to change it. Currently you have to change the username, creating a diff on the config file that you ignore. (you can't gitignore this file as it's needed in the project)

TLDR; enable an ask_user field for ssh connections

@efiop efiop transferred this issue from iterative/dvc Feb 3, 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

No branches or pull requests

1 participant