Automation with SSH

preview_player
Показать описание
When to use SSH instead of API? And how to automate it? Druvis will teach you!
Рекомендации по теме
Комментарии
Автор

I'm really warming to Druvis, he would make a good teacher.

matelotjim
Автор

i am using python to grab wireguard interface bandwidth every 5min and save it into a influxdb and Grafana to show data.

bucharestcartraffic
Автор

Of course we want something with Python! :-) Even if it is just a "Hello, world!", something to start with, it would be really helpful

NowInChessCom
Автор

Amazing video!!! Mikrotik + Python videos is a great idea!!!

felixlazaro
Автор

Ansible with mikrotik would be really useful

LILOREB
Автор

also by using ssh u can push the config, so useful!

nikolashuminosky
Автор

Have you considered providing alternative machine friendly output to your commands (simar to gpg option --with-colons)?

grzegorz.rynkowski
Автор

V good series ...nice work! I 'd like to see python in action with routerboard

wissman
Автор

I believe python use example will be more than welcome.

cmartin
Автор

Yes, I want to see Python examples or any other, how to automate changes etc. on routers with using some "maths" and "dynamic parameters"...

twada
Автор

I am also doing that and managing it by my own custom software.

sohaiblodhi
Автор

I want to keep an active ssh connection between Mikrotik and my Linux server from within a script. I am able to establish a stable connection to my server from the Mikrotik terminal, but I want to do this with a script as well, so that my ssh tunnel is connected when the time is up. What should I do?

HadiSedqi
Автор

Thank you for the nice video ! One question: Can I use the public key for multiple routers ? Say, I want to access Router B and Router C from Router A, after generate a pair of key, can the same public key used by Router B and Router C ?

mjsun
Автор

At work we use ssh exclusively to setup hundreds of mikrotik with vpn, ssh keys, vlan, etc...
To bad there is no way to auto setup switchos devices.

xgamer
Автор

Been using SSH for healthchecks for over a decade.

SB-qmwg
Автор

Is it possible to backup/restore entire config with scp (to copy files) and ssh (to execute config import/export). Is scp supported?

grzegorz.rynkowski
Автор

Please scale up text in next videos, font in console is too small 😑

nazmang
Автор

one thing we do on every new install is setting the l2mtu to the max-l2mtu of each interface. not really sure why it doesn't already come this way from the factory or why there even are separate l2mtu and max-l2mtu values.

:foreach i in=[/interface/ethernet/find] do={ \
:local iName [/interface/ethernet/get $i name]; \
:local iMtu [/interface/get $iName max-l2mtu]; \
/interface/set $iName l2mtu=$iMtu}

BattousaiHBr
Автор

What about some automation examples with Ansible...

fagobg
Автор

You should say about script.auto.rsc !!! This way i run scripts who detect internal stuff e.g interfaces/addresses and modify them in dedication way to only this branch. On end of script is self-remove .auto.rsc. Linux script do massive FTP sendding and reconnect to check if file is removed, if not then list all not done and report as mail to check them.

SiBex_ovh