Automation with SSH

Поделиться
HTML-код
  • Опубликовано: 17 сен 2024

Комментарии • 33

  • @matelotjim9035
    @matelotjim9035 Год назад +5

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

  • @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

  • @bucharestcartraffic
    @bucharestcartraffic Год назад +4

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

  • @piotrkasprzyk9159
    @piotrkasprzyk9159 Год назад +4

    Python + MikroTik examples, please!

  • @LILOREB
    @LILOREB Год назад +1

    Ansible with mikrotik would be really useful

  • @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"...

  • @svennme
    @svennme Год назад

    Such a good thumbnail - kudos!

  • @nikolashuminosky6987
    @nikolashuminosky6987 Год назад +1

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

  • @felixlazaro2406
    @felixlazaro2406 Год назад

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

  • @713cmartin
    @713cmartin Год назад +2

    I believe python use example will be more than welcome.

  • @sohaiblodhi
    @sohaiblodhi Год назад +1

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

  • @HadiSedqi
    @HadiSedqi 7 месяцев назад

    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?

  • @wissman68
    @wissman68 Год назад

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

  • @grzegorz.rynkowski
    @grzegorz.rynkowski Год назад

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

  • @SB-qm5wg
    @SB-qm5wg Год назад

    Been using SSH for healthchecks for over a decade.

  • @wreckedzilla
    @wreckedzilla Год назад

    cool, wasn't aware of the OR

  • @grzegorz.rynkowski
    @grzegorz.rynkowski Год назад

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

  • @mjsun42
    @mjsun42 Год назад

    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 Год назад

      Absolutely, that's how PKI is supposed to work - one holder of a private key and multiple holders of the public key.

    • @mjsun42
      @mjsun42 Год назад

      @@RB01-lite Thanks for the quick reply ! Also, I successfully installed the RouteOS on NVme SSD, so thanks again ! :-)

  • @threenine221
    @threenine221 Год назад +2

    do some python mikrotik

  • @xgamer
    @xgamer Год назад

    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.

  • @nazmang2
    @nazmang2 Год назад +3

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

    • @gabrielporto.mikrotik
      @gabrielporto.mikrotik Год назад

      RUclips has upgraded so you can zoom in on the video on your smartphone or tablet.

    • @nazmang2
      @nazmang2 Год назад

      @@gabrielporto.mikrotik what about Android TV with 4K display?

  • @BattousaiHBr
    @BattousaiHBr Год назад

    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 Год назад

      Some platforms have shared buffers, maxxing the l2mtu on these will use buffer space. The Tilera based CCR1xxx are like this.

    • @BattousaiHBr
      @BattousaiHBr Год назад

      @@Andrew_Thrift where can i check up on the limit for these before hitting buffer space?

    • @BattousaiHBr
      @BattousaiHBr Год назад

      @@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.

  • @fagobg
    @fagobg Год назад +1

    What about some automation examples with Ansible...

  • @SiBex_ovh
    @SiBex_ovh Год назад

    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  Год назад

      We have a video about that. ruclips.net/video/jBC7mScNUjw/видео.html