Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Vorstellung] Meine dritte VIS

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [Vorstellung] Meine dritte VIS

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kuddel @hofmannha last edited by

      @hofmannha

      per ssh auf deiner iobroker instanz anmelden
      und den schlüssel anlegen und auf zielsystem kopieren

      sudo su - iobroker -s /bin/bash
      cd ~/.ssh
      ssh-keygen
      Enter file in which to save the key (/home/iobroker/.ssh/id_rsa): iobroker_id_rsa
      Enter passphrase (empty for no passphrase):
      Enter same passphrase again:
      Your identification has been saved in iobroker_id_rsa.
      Your public key has been saved in iobroker_id_rsa.pub.
      
      cd /home/iobroker/.ssh/
      scp iobroker_id_ras.pub root@IP_DES_ZIELS:/root/iobroker_id_rsa.pub
      
      

      Auf Zielsystem anmelden und Schlüssel hinzufügen

      cd /root/
      cat iobroker_id_rsa.pub >> .ssh/authorized_keys
      
      H 1 Reply Last reply Reply Quote 0
      • H
        hofmannha @Kuddel last edited by

        @Kuddel
        Hallo Kuddel,
        Danke für die Info. Aber ich komme nicht klar damit.
        Er fragt an der Stelle nach einem Passwort:
        Unbenannt.PNG
        Welches Passwort?

        K 1 Reply Last reply Reply Quote 0
        • K
          Kuddel @hofmannha last edited by

          @hofmannha ja das ist richtig.

          du kopierst auf eine Pi oder ?

          dann versuch mal

          scp iobroker_id_ras.pub pi@192.168.178.25:/root/iobroker_id_rsa.pub
          
          H 1 Reply Last reply Reply Quote 0
          • H
            hofmannha @Kuddel last edited by

            @Kuddel
            ja ich bin auf dem Pi4 drauf, wo iobroker läuft.
            Ich habe das Paßwort von diesem Pi eingegeben, aber das nimmt
            er nicht.

            K 1 Reply Last reply Reply Quote 0
            • K
              Kuddel @hofmannha last edited by

              @hofmannha du musst den user (root, pi, admin / je nach dem was da eingerichtet wurde) und das PW vom Zielsystem für den scp befehl angeben

              H 1 Reply Last reply Reply Quote 0
              • H
                hofmannha @Kuddel last edited by

                @Kuddel
                Ich habe nur ein User angelegt pi mit Paßwort. Sonst nichts.
                Was müsste ich dann eingeben? Ich stehe auf dem Schlauch.

                K 1 Reply Last reply Reply Quote 0
                • K
                  Kuddel @hofmannha last edited by

                  @hofmannha

                  scp iobroker_id_ras.pub pi@192.168.178.25:/root/iobroker_id_rsa.pub 
                  
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hofmannha @Kuddel last edited by

                    @Kuddel
                    Das kommt dabei raus
                    Unbenannt.PNG

                    H K 2 Replies Last reply Reply Quote 0
                    • H
                      hofmannha @hofmannha last edited by

                      @hofmannha sagte in [Vorstellung] Meine dritte VIS:

                      @Kuddel
                      Das kommt dabei raus
                      Unbenannt.PNG

                      Was muß ich hier eingeben?
                      Enter passphrase (empty for no passphrase):

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kuddel @hofmannha last edited by

                        @hofmannha dann probiere mal

                        scp iobroker_id_ras.pub pi@192.168.178.25:/usr/iobroker_id_rsa.pub 
                        

                        und später

                        cd /usr/
                        cat iobroker_id_rsa.pub >> .ssh/authorized_keys
                        
                        1 Reply Last reply Reply Quote 0
                        • K
                          Kuddel @hofmannha last edited by

                          @hofmannha sagte in [Vorstellung] Meine dritte VIS:

                          @hofmannha sagte in [Vorstellung] Meine dritte VIS:

                          @Kuddel
                          Das kommt dabei raus
                          Unbenannt.PNG

                          Was muß ich hier eingeben?
                          Enter passphrase (empty for no passphrase):

                          einfach mit ENTER bestätigen

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            hofmannha @Kuddel last edited by

                            @Kuddel
                            Ich glaube ich gebe auf.
                            Unbenannt.PNG
                            Mehrmals versucht.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              Kuddel @hofmannha last edited by

                              @hofmannha

                              mach mal

                              cd root
                              cd .ssh
                              ls -l
                              

                              Bei mir sieht das dann so aus:

                              66197fbc-9465-40c4-b6ea-bc5af6505e8b-grafik.png

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                hofmannha @Kuddel last edited by

                                @Kuddel
                                Moin Kuddel,
                                ich konnte gestern nichts mehr ausprobieren.
                                Bei mir sieht es so aus:
                                Unbenannt.PNG

                                K 1 Reply Last reply Reply Quote 0
                                • K
                                  Kuddel @hofmannha last edited by

                                  @hofmannha dann lege mal die datei manuell an

                                  nano authorized_keys
                                  

                                  STRG + O fürs Speichern
                                  STRG + X zum schließen

                                  und dann nochmal den Public Key in die Datei schreiben

                                  cat iobroker_id_rsa.pub >> .ssh/authorized_keys
                                  
                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    hofmannha @Kuddel last edited by

                                    @Kuddel
                                    habe ich gemacht. Editor öffnet sich und konnte auch speichern.
                                    Danach:
                                    Unbenannt.PNG

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Kuddel @hofmannha last edited by Kuddel

                                      @hofmannha du musst im verzeichnis sein, wo der key liegt, oder den kompletten pfad zum key angeben

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hofmannha @Kuddel last edited by

                                        @Kuddel
                                        ich bin eine Linux-Niete. Wie kriege ich das denn raus, in welchem Verzeichnis die Datei liegt?

                                        K Meister Mopper 2 Replies Last reply Reply Quote 0
                                        • K
                                          Kuddel @hofmannha last edited by

                                          @hofmannha

                                          die Datie müsste bei dir unter /usr liegen

                                          /usr/iobroker_id_rsa.pub >> .ssh/authorized_keys 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Termina @Kuddel last edited by

                                            @Kuddel
                                            Ich finde Dein Alexa-View super! Kannst Du mir das zur Verfügung stellen?

                                            K 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            690
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            vis vis projekte
                                            83
                                            640
                                            138711
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo