Hello,
For some reason, when I use dvc pull or dvc push with an SSH remote, sometimes I get an error like this:
ERROR: unexpected error - No existing session
This is only on one specific machine that I use. On other machines, I don't have this problem.
To fix it, I have to give the parameter allow_agent=False to paramiko. If I edit manually the line https://github.com/iterative/dvc/blob/master/dvc/remote/ssh/__init__.py#L148 to add it, it works.
I was thinking that DVC could pass it through its config file, similarly to port or ask_password. For instance, I could add the line allow_agent = false in .dvc/config.local. I wanted to make a PR for that but I am too busy currently to do this myself :(
What do you think?
Hello,
For some reason, when I use
dvc pullordvc pushwith an SSH remote, sometimes I get an error like this:This is only on one specific machine that I use. On other machines, I don't have this problem.
To fix it, I have to give the parameter
allow_agent=Falseto paramiko. If I edit manually the line https://github.com/iterative/dvc/blob/master/dvc/remote/ssh/__init__.py#L148 to add it, it works.I was thinking that DVC could pass it through its config file, similarly to
portorask_password. For instance, I could add the lineallow_agent = falsein.dvc/config.local. I wanted to make a PR for that but I am too busy currently to do this myself :(What do you think?