diff --git a/docker/network_automation/Dockerfile b/docker/network_automation/Dockerfile index 5d613dd..ee6eba2 100644 --- a/docker/network_automation/Dockerfile +++ b/docker/network_automation/Dockerfile @@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-rec && pip install --upgrade pip \ && pip install cryptography netmiko napalm pyntc \ && pip install --upgrade paramiko && mkdir /scripts \ + && mkdir /root/.ssh/ && echo "KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1" > /root/.ssh/config \ && echo "Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr" >> /root/.ssh/config