-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
treeverse/scmrepo
#213Labels
P: windowsRelated to the Platform: WindowsRelated to the Platform: WindowsbugDid we break something?Did we break something?gitRelated to git and git backendsRelated to git and git backendsregressionOhh, we broke something :-(Ohh, we broke something :-(
Description
Bug Report
pull: ignores ssh-agent keys
Description
DVC 2.10.0 stops using ssh-agent (passed via SSH_AUTH_SOCK variable) for git clone operation resulting in Permission denied error.
Traceback (most recent call last):
[...]
File "C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\gall-UFKFKqae-py3.8\lib\site-packages\asyncssh\connection.py", line 2262, in wait_established
await self._waiter
asyncssh.misc.PermissionDenied: Permission denied
[...]
Reproduce
- name: Setup SSH Keys and known_hosts
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add - <<< "${{ secrets.SSH_KEY }}"
mkdir ~/.ssh/
ssh-keyscan -H github.com > ~/.ssh/known_hosts
- name: "Pull latest model"
run: dvc pull
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
AZURE_STORAGE_CONNECTION_STRING: <connection_string>
Expected
Artefacts are downloaded as in <=2.9.5 version
Environment information
GitHub Actions
Current runner version: '2.291.1'
Operating System
Microsoft Windows Server 2022
10.0.20348
Datacenter
Virtual Environment
Environment: windows-2022
Version: 20220503.1
Included Software: https://github.com/actions/virtual-environments/blob/win22/20220503.1/images/win/Windows2022-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/win22%2F20220503.1
piotlinski, matzim95, edwardwbarber, tadejsv and mnrozhkovdtrifiro
Metadata
Metadata
Assignees
Labels
P: windowsRelated to the Platform: WindowsRelated to the Platform: WindowsbugDid we break something?Did we break something?gitRelated to git and git backendsRelated to git and git backendsregressionOhh, we broke something :-(Ohh, we broke something :-(