mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
test: ssh: don't try to ask for a password
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -78,7 +78,7 @@ def _should_test_ssh():
|
||||
return False
|
||||
|
||||
try:
|
||||
check_output(['ssh', '127.0.0.1', 'ls'])
|
||||
check_output(['ssh', '-o', 'BatchMode=yes', '127.0.0.1', 'ls'])
|
||||
except (CalledProcessError, IOError):
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user