Automation with SSH

  Рет қаралды 11,017

MikroTik

MikroTik

Күн бұрын

Пікірлер: 33
@matelotjim9035
@matelotjim9035 2 жыл бұрын
I'm really warming to Druvis, he would make a good teacher.
@bucharestcartraffic
@bucharestcartraffic 2 жыл бұрын
i am using python to grab wireguard interface bandwidth every 5min and save it into a influxdb and Grafana to show data.
@NowInChessCom
@NowInChessCom 2 жыл бұрын
Of course we want something with Python! :-) Even if it is just a "Hello, world!", something to start with, it would be really helpful
@svennme
@svennme 2 жыл бұрын
Such a good thumbnail - kudos!
@piotrkasprzyk9159
@piotrkasprzyk9159 2 жыл бұрын
Python + MikroTik examples, please!
@felixlazaro2406
@felixlazaro2406 Жыл бұрын
Amazing video!!! Mikrotik + Python videos is a great idea!!!
@HadiSedqi
@HadiSedqi 10 ай бұрын
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?
@grzegorz.rynkowski
@grzegorz.rynkowski 2 жыл бұрын
Have you considered providing alternative machine friendly output to your commands (simar to gpg option --with-colons)?
@LILOREB
@LILOREB 2 жыл бұрын
Ansible with mikrotik would be really useful
@wissman68
@wissman68 Жыл бұрын
V good series ...nice work! I 'd like to see python in action with routerboard
@nikolashuminosky6987
@nikolashuminosky6987 2 жыл бұрын
also by using ssh u can push the config, so useful!
@sohaiblodhi
@sohaiblodhi 2 жыл бұрын
I am also doing that and managing it by my own custom software.
@fagobg
@fagobg 2 жыл бұрын
What about some automation examples with Ansible...
@713cmartin
@713cmartin 2 жыл бұрын
I believe python use example will be more than welcome.
@mjsun42
@mjsun42 2 жыл бұрын
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 ?
@RB01-lite
@RB01-lite 2 жыл бұрын
Absolutely, that's how PKI is supposed to work - one holder of a private key and multiple holders of the public key.
@mjsun42
@mjsun42 2 жыл бұрын
@@RB01-lite Thanks for the quick reply ! Also, I successfully installed the RouteOS on NVme SSD, so thanks again ! :-)
@grzegorz.rynkowski
@grzegorz.rynkowski 2 жыл бұрын
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
@grzegorz.rynkowski 2 жыл бұрын
Ok, the scp is supported. Thanks
@twada81
@twada81 2 жыл бұрын
Yes, I want to see Python examples or any other, how to automate changes etc. on routers with using some "maths" and "dynamic parameters"...
@xgamer
@xgamer 2 жыл бұрын
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.
@SB-qm5wg
@SB-qm5wg 2 жыл бұрын
Been using SSH for healthchecks for over a decade.
@wreckedzilla
@wreckedzilla 2 жыл бұрын
cool, wasn't aware of the OR
@threenine221
@threenine221 2 жыл бұрын
do some python mikrotik
@BattousaiHBr
@BattousaiHBr 2 жыл бұрын
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}
@Andrew_Thrift
@Andrew_Thrift 2 жыл бұрын
Some platforms have shared buffers, maxxing the l2mtu on these will use buffer space. The Tilera based CCR1xxx are like this.
@BattousaiHBr
@BattousaiHBr 2 жыл бұрын
@@Andrew_Thrift where can i check up on the limit for these before hitting buffer space?
@BattousaiHBr
@BattousaiHBr 2 жыл бұрын
@@Andrew_Thrift can you provide where you got this information from? after scraping google you are the sole informant of this. not even mikrotik's wiki has any mention of that.
@nazmang2
@nazmang2 2 жыл бұрын
Please scale up text in next videos, font in console is too small 😑
@gabrielporto.mikrotik
@gabrielporto.mikrotik 2 жыл бұрын
KZbin has upgraded so you can zoom in on the video on your smartphone or tablet.
@nazmang2
@nazmang2 2 жыл бұрын
@@gabrielporto.mikrotik what about Android TV with 4K display?
@SiBex_ovh
@SiBex_ovh 2 жыл бұрын
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.
@mikrotik
@mikrotik 2 жыл бұрын
We have a video about that. kzbin.info/www/bejne/oHOmaKCJmLOIoNk
SSH RSA key for your router
5:19
MikroTik
Рет қаралды 13 М.
Python SSH
13:09
MikroTik
Рет қаралды 14 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
This web UI for Ansible is so damn useful!
20:07
Christian Lempa
Рет қаралды 508 М.
Docker Image BEST Practices - From 1.2GB to 10MB
7:15
Better Stack
Рет қаралды 130 М.
I Was DEFINITELY Using The Wrong Terminal Shell
9:59
DevOps Toolbox
Рет қаралды 70 М.
Базовая настройка firewall на Mikrotik
13:05
Давыд Рыленков
Рет қаралды 33 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 192 М.
Verifying SSH fingerprints and other questions
6:26
MikroTik
Рет қаралды 4,8 М.
DO NOT design your network like this!! // FREE CCNA // EP 6
19:36
NetworkChuck
Рет қаралды 3,4 МЛН