Fixed missing directory

This commit is contained in:
adosztal 2018-03-15 20:49:52 +01:00
parent 525b493dc7
commit 5e470c8b92

View File

@ -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