Skip to content

Cannot SSH to "ubiquiti_edgeswitch" #808

Description

@fahadtuhafi

Not able to ssh into a Ubiquiti Edge-switch using a python script with Netmiko library imported. I changed the device type to 'device_type': 'ubiquiti_edgeswitch'. But still not able to ssh into a Ubiquiti Edge switch. However I can SSH into a Cisco. Could you help please?

Here is the code:

from netmiko import ConnectHandler

os = {
'device_type': 'ubiquiti_edgeswitch',
'ip': '192.168.1.2,
'username': 'ubnt',
'password': 'ubnt'
}

net_connect = ConnectHandler(**os)
output = net_connect.send_command('show run')
print (output)

Thanks!
Fahad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions