-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dvc exp push fails if git connection is over a proxyjump #10683
Comments
Where do you have your keys' setup? Are those in |
I only have a ssh key for the git but the ssh server which is used as proxy requires a password and 2fa token. |
It could be because we don't implement password authentication. We do implement keyword-interactive authentication, and maybe the server is not using that. |
Can you try this PR and see if fixes the issue: iterative/scmrepo#403? You can install it as follows (in the same environment where dvc is installed). $ pip install "scmrepo @ git+https://github.com/iterative/scmrepo.git@fix-10683" |
installing worked fine.
but the error message is still the same i think 🤔
|
It's difficult for me to say what's happening. If you can debug, that'd be great. (It could be that we need to set it up properly: ronf/asyncssh#307). |
so I replaced ProxyJump with ProxyCommand ssh -W %h:%p in my .config file and I get a different error now 😁
still no prompt though |
turns out there was a way to get an ssh key for the proxyjump server and that seems to work. 👍 |
Hey @f-fuchs. I would recommend trying with plain I don't see a way to prompt for password during proxyjump in asyncssh (maybe I did not look in the right place). I also see that we don't support prompting for passphrase for the key during proxyjump either. |
Also, note that, for Git operations, we use two different clients: So, if you have a complicated setup, a good workaround here could be to add some fields that are not supported by asyncssh in your config. One config that I add is |
Description
Hey,
I have to use an ssh proxyjump to connect to my git repository. Sadly this results in all the dvc commands that rely on the remote failing.
Reproduce
If I run a normal git command everything is fine and I get prompted for the 2fa for the ssh server.
Sadly dvc does not prompt me for my credentials but instead just fails.
Is there a way for dvc to prompt me? Alternatively is there a way to figure out which git commands this would run and then run them myself?
The text was updated successfully, but these errors were encountered: