Creating a Python script that will log into a Arista Switch, from there it will save config, then tftp to a tftp server and copy the running-config.
Issue that I am having is that it will not connect to the Arista Device.
Getting this error:
netmiko.ssh_exception.NetmikoAuthenticationException: Authentication failure: unable to connect arista_eos 192.168.225.254:22
Bad authentication type; allowed types: ['publickey', 'keyboard-interactive']
My code:
I looked over the base_connection.py file, but do not want to modify anything until I know what the issue is.
Thank you
Dan
Issue that I am having is that it will not connect to the Arista Device.
Getting this error:
netmiko.ssh_exception.NetmikoAuthenticationException: Authentication failure: unable to connect arista_eos 192.168.225.254:22
Bad authentication type; allowed types: ['publickey', 'keyboard-interactive']
My code:
from netmiko import ConnectHandler iosv_l2 = { 'device_type': 'arista_eos', 'ip': '192.168.225.254', 'username': 'test123', 'password': 'test123' }Not using keys yet, and can log onto the device with username and password from a command prompt or 'Putty'
I looked over the base_connection.py file, but do not want to modify anything until I know what the issue is.
Thank you
Dan