Paramiko Tutorial :Part1 How SSH Host key Policy works : Fundamentals of exec_commands Linux Cisco

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

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

  • @NetworkEvolution
    @NetworkEvolution  2 года назад

    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗣𝘆𝘁𝗵𝗼𝗻 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗳𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀(𝟭𝟮𝟬+ 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/5zN6c-kuda0/видео.html
    ☸𝗣𝗹𝗲𝗮𝘀𝗲 𝗳𝗼𝗹𝗹𝗼𝘄 𝗯𝗲𝗹𝗼𝘄 𝗚𝗶𝘁𝗛𝘂𝗯 𝗣𝗮𝗴𝗲 𝗳𝗼𝗿 𝘁𝗵𝗲 𝗹𝗮𝘁𝗲𝘀𝘁 𝗰𝗼𝗱𝗲𝘀:
    github.com/network-evolution
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗖𝗶𝘀𝗰𝗼 𝗡𝗫𝗔𝗣𝗜-𝗖𝗟𝗜 𝗣𝘆𝘁𝗵𝗼𝗻 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻: 𝗡𝗲𝘅𝘂𝘀 𝟵𝗸 :𝗣𝗮𝗿𝘀𝗲 𝗷𝘀𝗼𝗻 𝗫𝗠𝗟 𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻 𝗗𝗮𝘁𝗮
    ruclips.net/video/Bhx0rW-t8jI/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗟𝗲𝗮𝗿𝗻 𝘁𝗼 𝗣𝗮𝗿𝘀𝗲 𝗖𝗶𝘀𝗰𝗼 𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻 𝘂𝘀𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 𝗥𝗲𝗴𝗘𝘅:𝗿𝗲 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹(𝟭𝟱+ 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/PbP9tyV0Zao/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗖𝗶𝘀𝗰𝗼 𝗜𝗻𝘁𝗲𝗿𝗳𝗮𝗰𝗲 𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻 𝗣𝗮𝗿𝘀𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝗠𝘂𝗹𝘁𝗶𝘁𝗵𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 𝗥𝗲𝗴𝗘𝘅 𝗦𝗰𝗿𝗶𝗽𝘁:𝗧𝗮𝗯𝘂𝗹𝗮𝘁𝗲 𝗧𝗮𝗯𝗹𝗲 𝗲𝘅𝗮𝗺𝗽𝗹𝗲(𝟰 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/gSf-0sUPbKI/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗘𝗻𝗮𝗯𝗹𝗲 𝗣𝘆𝘁𝗵𝗼𝗻 𝗠𝘂𝗹𝘁𝗶𝘁𝗵𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗶𝗻 𝗖𝗶𝘀𝗰𝗼 𝗖𝗼𝗻𝗳𝗶𝗴 𝗕𝗮𝗰𝗸𝘂𝗽 𝗦𝗰𝗿𝗶𝗽𝘁 𝗳𝗼𝗿 𝗣𝗮𝗿𝗮𝗹𝗹𝗲𝗹 𝗲𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻:𝗧𝗵𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹(𝟰 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/gpLG8bGuAqA/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗔𝗻𝘀𝗶𝗯𝗹𝗲 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗙𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀 : 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝘄𝗶𝘁𝗵 𝗖𝗶𝘀𝗰𝗼 𝗘𝘅𝗮𝗺𝗽𝗹𝗲𝘀(𝟯𝟬+ 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/I_SfubfvVxg/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗔𝗻𝘀𝗶𝗯𝗹𝗲 𝗧𝗼𝘄𝗲𝗿/𝗔𝗪𝗫 𝗖𝗜𝗖𝗗 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 : 𝗖𝗶𝘀𝗰𝗼 𝗜𝗢𝗦 𝗣𝗹𝗮𝘆𝗯𝗼𝗼𝗸𝘀 + 𝗚𝗶𝘁𝗟𝗮𝗯 𝗥𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆 + 𝗖𝗜𝗖𝗗 𝗣𝗶𝗽𝗲𝗹𝗶𝗻𝗲 + 𝗚𝗶𝘁𝗟𝗮𝗯 𝗥𝘂𝗻𝗻𝗲𝗿(𝟭𝟬+ 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/r02wxb-UIAA/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗔𝗻𝘀𝗶𝗯𝗹𝗲 𝗟𝗲𝗮𝗿𝗻𝗶𝗻𝗴 𝗙𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀 : 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝘄𝗶𝘁𝗵 𝗖𝗶𝘀𝗰𝗼 𝗘𝘅𝗮𝗺𝗽𝗹𝗲𝘀(𝟯𝟬+ 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/I_SfubfvVxg/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗘𝗩𝗘-𝗡𝗚 𝗔𝗣𝗜 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝘂𝘀𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 :𝗛𝗼𝘄 𝘁𝗼 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗲 𝗗𝗲𝘃𝗶𝗰𝗲 𝗣𝗿𝗼𝘃𝗶𝘀𝗶𝗼𝗻𝗶𝗻𝗴 𝗶𝗻 𝗘𝗩𝗘-𝗡𝗚:𝗖𝗶𝘀𝗰𝗼 𝗗𝗲𝘃𝗶𝗰𝗲(𝟱 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/hBuK16ntn-A/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗗𝗲𝗺𝗼_𝟬𝟭
    ruclips.net/video/WWaNVbve6Ro/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗡𝗲𝘁𝗯𝗼𝘅 𝗮𝘀 𝗮 𝗦𝗼𝘂𝗿𝗰𝗲 𝗢𝗳 𝗧𝗿𝘂𝘁𝗵 𝗙𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻
    ruclips.net/video/hRe1Gtve740/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗛𝗼𝘄 𝘁𝗼 𝘃𝗮𝗹𝗶𝗱𝗮𝘁𝗲 𝗜𝗣 𝗔𝗱𝗱𝗿𝗲𝘀𝘀/𝗦𝘂𝗯𝗻𝗲𝘁 𝘂𝘀𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 : 𝗶𝗽𝗮𝗱𝗱𝗿𝗲𝘀𝘀 𝗺𝗼𝗱𝘂𝗹𝗲 𝘁𝘂𝘁𝗼𝗿𝗶𝗮𝗹 𝗳𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀
    ruclips.net/video/9ycXChb38Ww/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗡𝗘𝗧𝗖𝗢𝗡𝗙 𝗣𝘆𝘁𝗵𝗼𝗻 𝗘𝘅𝗮𝗺𝗽𝗹𝗲 𝘄𝗶𝘁𝗵 𝗖𝗶𝘀𝗰𝗼 𝗗𝗲𝘃𝗶𝗰𝗲𝘀 𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗮𝘁𝗶𝗼𝗻 𝗮𝗻𝗱 𝗡𝗖𝗖𝗟𝗜𝗘𝗡𝗧
    ruclips.net/video/7zyapwSrlMk/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗙𝗼𝗿𝘁𝗶𝗴𝗮𝘁𝗲 𝗖𝗟𝗜 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗨𝘀𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 : 𝗡𝗲𝘁𝗺𝗶𝗸𝗼 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹(𝟳 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/sJFEAru2ch8/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗙𝗼𝗿𝘁𝗶𝗴𝗮𝘁𝗲 𝗔𝗣𝗜 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗨𝘀𝗶𝗻𝗴 𝗣𝘆𝘁𝗵𝗼𝗻 𝗣𝗼𝘀𝘁𝗺𝗮𝗻 𝗮𝗻𝗱 𝗖𝘂𝗿𝗹(𝟵 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/Avw2-0wVDlI/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗡𝗲𝘁𝗺𝗶𝗸𝗼 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹𝘀 𝗙𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀(𝟭𝟮 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/3NbKTElSI88/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗣𝗮𝗿𝗮𝗺𝗶𝗸𝗼 𝗧𝘂𝘁𝗼𝗿𝗶𝗮𝗹 : 𝗣𝗮𝗿𝗮𝗺𝗶𝗸𝗼 𝗱𝗲𝘁𝗮𝗶𝗹𝗲𝗱 𝗲𝘅𝗽𝗹𝗮𝗻𝗮𝘁𝗶𝗼𝗻 𝘄𝗶𝘁𝗵 𝗘𝘅𝗮𝗺𝗽𝗹𝗲 𝗳𝗼𝗿 𝗡𝗲𝘁𝘄𝗼𝗿𝗸 𝗘𝗻𝗴𝗶𝗻𝗲𝗲𝗿𝘀(𝟮𝟲 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/A075aWJMAeM/видео.html
    𝗣𝗹𝗮𝘆𝗹𝗶𝘀𝘁: 𝗘𝗻𝗮𝗯𝗹𝗲 𝗣𝘆𝘁𝗵𝗼𝗻 𝗟𝗼𝗴𝗴𝗶𝗻𝗴 : 𝗟𝗼𝗴 𝗦𝗰𝗿𝗶𝗽𝘁 𝗘𝘅𝗲𝗰𝘂𝘁𝗶𝗼𝗻 :𝗖𝗶𝘀𝗰𝗼 𝗦𝗦𝗛 |𝗔𝗱𝗱 𝗧𝗶𝗺𝗲𝘀𝘁𝗮𝗺𝗽, 𝗟𝗲𝘃𝗲𝗹𝘀, 𝗙𝗼𝗿𝗺𝗮𝘁𝘁𝗲𝗿𝘀, 𝗛𝗮𝗻𝗱𝗹𝗲𝗿𝘀(𝟳 𝗩𝗶𝗱𝗲𝗼𝘀)
    ruclips.net/video/LmlahSkH0Oc/видео.html

  • @weewee6
    @weewee6 3 года назад +2

    most easiest to understand and best hands on demonstrations i have seen so far. really helped me understand network automation in depth. its not been easy get my head around network automation, but iam starting to now. thanks

    • @NetworkEvolution
      @NetworkEvolution  3 года назад +1

      Great to hear that Lee. The reason why I started yt channel is to introduce Network Automation to other Network engineers like me. For me also it was challenging to understand automation concepts when I started.

    • @weewee6
      @weewee6 3 года назад

      @@NetworkEvolution its a great channel, doing great job here. just quick question... i know all this information is relevant in network automation, but what approach from your experience would you say is adopted the most by network engineer's like your self when comes to automation. for example i see using ansible and yaml in most ways as quickest and simplest way?! are netconf and restconf still widely used?.

  • @Tomandjerry-zk8pb
    @Tomandjerry-zk8pb 9 дней назад

    Nice work bro I love this

  • @prasadsankar3775
    @prasadsankar3775 3 года назад +1

    Thanks for the video. I have a question - How to change directory after SSHing the server?

  • @kiranmane4935
    @kiranmane4935 3 года назад

    @NetworkEvolution what's that host name you set??? How we get that name

    • @NetworkEvolution
      @NetworkEvolution  3 года назад

      You can use either hostname or IP Address. If it is hostname it should be resolvable from local dns server

  • @abelgonzalez3640
    @abelgonzalez3640 3 года назад

    Thank you very much for this video!

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

    do you have tutorial that uses MFA on a Jumphost and only then SSH into the router?

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

      Sorry I am yet to try mfa with Jumphost.
      Is there any way to simulate MFA using complete opensource software.
      If you share some details, I will give it a try

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

    WOW... you are too good. Can I make my old Android phone (ver 2.0 I think) as server and access and set date and time remotely using paramico?

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

    I have a question, I am getting the output in XML format when trying to execute commands. Is there any way I can get the output in JSON format?

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

      Are you trying the command in cisco device using ssh or netconf?
      In netconf usually we get data in XML format. One way is you can use libraries like elementtree or xmltodict to convert to python format and from python data format you can convert to json

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

      If you're using Restconf it has an option to get an output in JSON format

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

      @@NetworkEvolution thanks for the help, I used xmltodict lib, it worked ☺

  • @metin.simsek
    @metin.simsek 2 года назад

    thank you very much, you are hero :)

  • @serious6037
    @serious6037 2 года назад

    how do you treat a ssh with paramiko if the server gives you a password AFTER connecting? because this --> client.connect (password=input('Password: ')) does not work.

    • @NetworkEvolution
      @NetworkEvolution  2 года назад

      Have you tested this with Netmiko? Which device you are trying to access? Is it cisco?

    • @serious6037
      @serious6037 2 года назад

      @@NetworkEvolution no its simplesshd on android. and it gives you password after you connect to it. whenever i am using terminal its, all good but, when i am using paramiko in python, i dont understand how to write a code so it passes connecting part and then to promp for password. i mean paramiko throws exception if password is not provided and then dissconects, not reaching the password level for simplesshd like in o.s terminals, and after this the connection is reseted in simplesshd and password is renewed. Even putty and winscp are good, but not paramiko.

    • @serious6037
      @serious6037 2 года назад

      @@NetworkEvolution And no, i did not tested it with netmiko.

  • @kshitijkasar5645
    @kshitijkasar5645 3 года назад

    Can you share the link to previous videos/list

    • @NetworkEvolution
      @NetworkEvolution  3 года назад +1

      Hello Kshitij,
      this is complete python playlist.
      ruclips.net/video/sG_RiytUA38/видео.html
      Ansible Playlist:
      ruclips.net/video/I_SfubfvVxg/видео.html

  • @BhaaRaThh
    @BhaaRaThh 2 года назад

    hi, great video. can you do one video in road map for network automation and important thing that do you train students i'm looking to join.

    • @NetworkEvolution
      @NetworkEvolution  2 года назад

      Thanks for the comment RK. Yes I am planning to start next live batch in couple of weeks. Can you email to info@networkevolution.in . I will update you the dates and batch timings.

    • @BhaaRaThh
      @BhaaRaThh 2 года назад

      @@NetworkEvolution yah sure

    • @kohli6371
      @kohli6371 5 месяцев назад

      @@NetworkEvolution what is your email?

  • @preethiratnala3650
    @preethiratnala3650 2 года назад

    can we connect client linux server using python with out client vpn

    • @NetworkEvolution
      @NetworkEvolution  2 года назад

      Hello Preethi, using Paramiko you can connect to the machines which are having SSH enabled, and SSH port should be reachable from client machine

  • @ramakiran3
    @ramakiran3 3 года назад

    i am getting error at
    session.connect(hostname=host,
    username=username,
    password=password) .
    Parameter self unfilled....
    Pls suggest me

    • @NetworkEvolution
      @NetworkEvolution  3 года назад

      Hello Rama, can you share the script file to networkevolution.in@gmail.com? I can try it in my environment and let you know

  • @PikluDey1990
    @PikluDey1990 3 года назад

    How to create a secondary Ubuntu machine that you have used here? Can you please direct me to any video with these details or any source. Thank you.

    • @NetworkEvolution
      @NetworkEvolution  3 года назад

      Hi, you can create a vm using vmware player or esxi. In my case I have installed 2 ubuntu machines in esxi.

    • @PikluDey1990
      @PikluDey1990 3 года назад

      @@NetworkEvolution Thank you

  • @sarvjeetbhardwaj6964
    @sarvjeetbhardwaj6964 2 года назад

    Hi , I am getting the error as 'Channel Closed '. Can you please help ??

    • @NetworkEvolution
      @NetworkEvolution  2 года назад

      Hello Sarvjeet, I have tried accessing it from multiple devices and able to play the same video and playlist. If you are still facing the issue can you share the message you are getting ?

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

    you will break your enter key some day