diff --git a/docker/network_automation/Dockerfile b/docker/network_automation/Dockerfile index 503194c..5d613dd 100644 --- a/docker/network_automation/Dockerfile +++ b/docker/network_automation/Dockerfile @@ -11,7 +11,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-rec && rm -rf /var/lib/apt/lists/* \ && pip install --upgrade pip \ && pip install cryptography netmiko napalm pyntc \ - && pip install --upgrade paramiko && mkdir /scripts + && pip install --upgrade paramiko && mkdir /scripts \ + && 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 VOLUME [ "/root","/usr", "/scripts" ] CMD [ "sh", "-c", "cd; exec bash -i" ]