mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-04-16 07:26:40 +00:00
SSH support for old IOS versions
This commit is contained in:
parent
4fb7d3ab6f
commit
525b493dc7
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user