aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jan Wagner <waja@cyconet.org> 2019-02-04 14:24:29 +0100
committerGravatar Jan Wagner <waja@cyconet.org> 2019-02-04 14:24:29 +0100
commit2dcfbbcad03baf1124644184ec072ac0dba024f7 (patch)
tree9653a0d7aa6d65e24e090b6efb4edcae67b9e1fe
parent2416aaadd879caae33438e09f6d2eeffdb5434c2 (diff)
downloadmonitoring-plugins-2dcfbbcad03baf1124644184ec072ac0dba024f7.tar.gz
travis-ci: Use RSA keys for SSH tests
-rw-r--r--.travis.yml4
-rw-r--r--plugins/t/NPTest.cache.travis2
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 134d2189..946345c4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -73,8 +73,8 @@ before_script:
- make
- export NPTEST_ACCEPTDEFAULT=1
- export NPTEST_CACHE="$(pwd)/plugins/t/NPTest.cache.travis"
- - ssh-keygen -t dsa -N "" -f ~/.ssh/id_dsa
- - cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
+ - ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
+ - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
- ssh-keyscan localhost >> ~/.ssh/known_hosts
- touch ~/.ssh/config
- sudo rm -f /usr/share/mibs/ietf/SNMPv2-PDU /usr/share/mibs/ietf/IPSEC-SPD-MIB /usr/share/mibs/ietf/IPATM-IPMC-MIB /usr/share/mibs/iana/IANA-IPPM-METRICS-REGISTRY-MIB
diff --git a/plugins/t/NPTest.cache.travis b/plugins/t/NPTest.cache.travis
index 6ee45053..9b9f8059 100644
--- a/plugins/t/NPTest.cache.travis
+++ b/plugins/t/NPTest.cache.travis
@@ -50,5 +50,5 @@
'NP_SNMP_USER' => '',
'NP_SSH_CONFIGFILE' => '~/.ssh/config',
'NP_SSH_HOST' => 'localhost',
- 'NP_SSH_IDENTITY' => '~/.ssh/id_dsa'
+ 'NP_SSH_IDENTITY' => '~/.ssh/id_rsa'
}