diff options
| -rw-r--r-- | prometheus_tp_link_exporter/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prometheus_tp_link_exporter/__main__.py b/prometheus_tp_link_exporter/__main__.py index 1761079..e938c46 100644 --- a/prometheus_tp_link_exporter/__main__.py +++ b/prometheus_tp_link_exporter/__main__.py @@ -20,7 +20,7 @@ def ifconfig_devices(): """Connect to TP-Link device over SSH and return ifconfig output.""" return jc.parsers.ifconfig.parse( subprocess.getoutput( - f"sshpass -p{password} ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -F /dev/null admin@{host} /sbin/ifconfig" + f"sshpass -p{password} ssh admin@{host} /sbin/ifconfig" ) ) |
