Customizing SSH Options in pyATS Testbeds

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

Subscribe to our newsletter and stay updated.

Don't miss anything. Get all the latest posts delivered straight to your inbox.
Great! Check your inbox and click the link to confirm your subscription.
Error! Please enter a valid email address!