From a5d77c0fb99f3064b11da27d7b5a9d181f429461 Mon Sep 17 00:00:00 2001 From: gcoter Date: Sat, 26 Sep 2020 21:28:12 +0200 Subject: [PATCH 1/4] remote modify [ssh]: Add doc about the parameter 'allow_agent' This parameter was created to fix https://github.com/iterative/dvc/issues/4186 --- content/docs/command-reference/remote/modify.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index 5085e59cf2..c9a02abd48 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -539,6 +539,15 @@ more information. $ dvc remote modify myremote gss_auth true ``` +- `allow_agent` - whether to connect to the SSH agent (default is true). Please + refer to + [Paramiko's documentation](http://docs.paramiko.org/en/stable/api/client.html?highlight=allow_agent#paramiko.client.SSHClient.connect) + for more information. + + ```dvc + $ dvc remote modify myremote allow_agent true + ``` +
From c8e00b602055b304daf053d2d725910bdd268ba1 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 27 Sep 2020 01:10:32 +0300 Subject: [PATCH 2/4] Update content/docs/command-reference/remote/modify.md --- content/docs/command-reference/remote/modify.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index c9a02abd48..3deee749a5 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -545,7 +545,7 @@ more information. for more information. ```dvc - $ dvc remote modify myremote allow_agent true + $ dvc remote modify myremote allow_agent false ```
From a18e64b628f4603099233f33e101bbe5f33f25cb Mon Sep 17 00:00:00 2001 From: Ivan Shcheklein Date: Sat, 26 Sep 2020 15:16:53 -0700 Subject: [PATCH 3/4] minor: apply inline code --- content/docs/command-reference/remote/modify.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index 3deee749a5..37e3d7c9f0 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -539,8 +539,8 @@ more information. $ dvc remote modify myremote gss_auth true ``` -- `allow_agent` - whether to connect to the SSH agent (default is true). Please - refer to +- `allow_agent` - whether to connect to the SSH agent (default is `true`). + Please refer to [Paramiko's documentation](http://docs.paramiko.org/en/stable/api/client.html?highlight=allow_agent#paramiko.client.SSHClient.connect) for more information. From 08c7f0e05cd097626bff85f2e2e9a6d9195836bf Mon Sep 17 00:00:00 2001 From: Jorge Orpinel Date: Wed, 30 Sep 2020 00:38:11 -0500 Subject: [PATCH 4/4] Update content/docs/command-reference/remote/modify.md --- content/docs/command-reference/remote/modify.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/docs/command-reference/remote/modify.md b/content/docs/command-reference/remote/modify.md index 37e3d7c9f0..74fdcc6e83 100644 --- a/content/docs/command-reference/remote/modify.md +++ b/content/docs/command-reference/remote/modify.md @@ -539,10 +539,9 @@ more information. $ dvc remote modify myremote gss_auth true ``` -- `allow_agent` - whether to connect to the SSH agent (default is `true`). - Please refer to - [Paramiko's documentation](http://docs.paramiko.org/en/stable/api/client.html?highlight=allow_agent#paramiko.client.SSHClient.connect) - for more information. +- `allow_agent` - whether to use [SSH agents](https://www.ssh.com/ssh/agent) + (`true` by default). Setting this to `false` is useful when `ssh-agent` is + causing problems, such as a "No existing session" error: ```dvc $ dvc remote modify myremote allow_agent false