Closed xibriz closed 6 months ago
After some more digging I found that the best solution was to add a new file in the ssh_config.d
folder:
- RUN echo "Host *" >> /etc/ssh/ssh_config.d/custom.conf
- RUN echo " KexAlgorithms +diffie-hellman-group1-sha1" >> /etc/ssh/ssh_config.d/custom.conf
- RUN echo " Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc" >> /etc/ssh/ssh_config.d/custom.conf
- RUN echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config.d/custom.conf
This works, but for my spesific needs it was better to just add the following step - RUN update-crypto-policies --set LEGACY
based on this information: https://serverfault.com/a/1125849
I'm haveing problems connecting to an old switch when running a playbook in my EE.
So the problem is quite clear, I need to add one of the KexAlgorithms to my EE. But how do I do that?
I have tried the following with no success: