Paulo Roberto Tomasi
Paulo Roberto Tomasi
Hi, It still didn't work. Every time I run the script the output has ~20 and ~30 lines (it's not breaking at any specific character or specific amount of lines)...
Hi, Additional information: ``` from netmiko import ConnectHandler import re mikrotik = { 'device_type': 'mikrotik_routeros', 'host': '10.1.1.68', 'port': 2222, 'username': 'dude', 'password': 'not_real_password' } mikrotik_connection = ConnectHandler(**mikrotik) output = mikrotik_connection.send_command(...
Now I tried the following commands: ``` root@ubuntu-lab:/home/administrator# export PATH=$PATH:/root/go/bin/ ``` ``` root@ubuntu-lab:/home/administrator# sshportal server 2023/05/30 14:50:51 error: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is...
Hi, The Mikrotik Help has some information about the parameters https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface I tried to change `'username': 'dude'` to `'username': 'dude' + '+e'` but netmiko didn't accept the `+e` additional information...
Hello, This code seems to be working: ``` from netmiko import ConnectHandler import re mikrotik = { 'device_type': 'mikrotik_routeros', 'host': '10.1.1.68', 'port': 2222, 'username': 'dude' + '+cet', 'password': 'not_real_password' }...