From d4b42e52c4a4277e2c145f090b486c6a7ca4c306 Mon Sep 17 00:00:00 2001 From: yayogev Date: Wed, 23 Aug 2017 15:45:16 +0300 Subject: add -q to ssh to ignore warnnings Change-Id: I311203cd7eea49c1f82624b2aefc86a687c78861 Signed-off-by: yayogev --- app/discover/fetchers/cli/cli_access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/discover') diff --git a/app/discover/fetchers/cli/cli_access.py b/app/discover/fetchers/cli/cli_access.py index 11579bd..7bd7ee6 100644 --- a/app/discover/fetchers/cli/cli_access.py +++ b/app/discover/fetchers/cli/cli_access.py @@ -18,7 +18,7 @@ from utils.ssh_conn import SshConn class CliAccess(BinaryConverter, Fetcher): connections = {} - ssh_cmd = "ssh -o StrictHostKeyChecking=no " + ssh_cmd = "ssh -q -o StrictHostKeyChecking=no " call_count_per_con = {} max_call_count_per_con = 100 cache_lifetime = 60 # no. of seconds to cache results -- cgit 1.2.3-korg