Customizing SSH Options in pyATS Testbeds
pyATS Tip: Customize SSH directly within the pyATS testbed using ssh_options. Ideal when needing to alter the algorithms used when connecting to older devices.
Here is an example π
devices:
leaf1:
alias: leaf1
connections:
cli:
ip: 172.29.151.100
protocol: ssh
ssh_options: -o KexAlgorithms=+diffie-hellman-group1-sha1 -o HostKeyAlgorithms=+ssh-rsa