Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Permission denied Putty/Powershell [gelöst]

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Permission denied Putty/Powershell [gelöst]

    This topic has been deleted. Only users with topic management privileges can see it.
    • Michael Schmitt
      Michael Schmitt @Meister Mopper last edited by

      @meister-mopper

      Nicht das ich wüßte, den Pi hab ich ja schon paar Jahre in Betrieb, nur mein PC hab ich geändert

      Meister Mopper 1 Reply Last reply Reply Quote 0
      • Meister Mopper
        Meister Mopper @Michael Schmitt last edited by

        @michael-schmitt

        Was sagt auf dem Raspi sudo systemctl status ssh ?

        Michael Schmitt 1 Reply Last reply Reply Quote 0
        • Michael Schmitt
          Michael Schmitt @Meister Mopper last edited by

          @meister-mopper

          pi@raspberrypi:~ $ sudo systemctl status ssh
          ● ssh.service - OpenBSD Secure Shell server
               Loaded: loaded (/lib/systemd/system/ssh.service; enabled; preset: enabled)
               Active: active (running) since Sat 2025-01-18 00:30:50 CET; 4 weeks 0 days ago
                 Docs: man:sshd(8)
                       man:sshd_config(5)
              Process: 547 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
             Main PID: 564 (sshd)
                Tasks: 1 (limit: 3932)
                  CPU: 550ms
               CGroup: /system.slice/ssh.service
                       └─564 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
          
          Jan 18 16:28:51 raspberrypi sshd[13971]: Accepted password for pi from 192.168.178.20 port 62021 ssh2
          Jan 18 16:28:51 raspberrypi sshd[13971]: pam_unix(sshd:session): session opened for user pi(uid=1000) by (uid=0)
          Jan 18 16:28:52 raspberrypi sshd[13971]: pam_env(sshd:session): deprecated reading of user environment enabled
          Jan 18 20:47:27 raspberrypi sshd[16875]: Connection closed by 192.168.178.20 port 65137 [preauth]
          Jan 23 16:05:06 raspberrypi sshd[2611]: Accepted password for pi from 192.168.178.20 port 53610 ssh2
          Jan 23 16:05:06 raspberrypi sshd[2611]: pam_unix(sshd:session): session opened for user pi(uid=1000) by (uid=0)
          Jan 23 16:05:06 raspberrypi sshd[2611]: pam_env(sshd:session): deprecated reading of user environment enabled
          Feb 15 16:00:16 raspberrypi sshd[9808]: Accepted password for pi from 192.168.178.76 port 50367 ssh2
          Feb 15 16:00:16 raspberrypi sshd[9808]: pam_unix(sshd:session): session opened for user pi(uid=1000) by (uid=0)
          Feb 15 16:00:17 raspberrypi sshd[9808]: pam_env(sshd:session): deprecated reading of user environment enabled
          pi@raspberrypi:~ $
          
          Meister Mopper 2 Replies Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @Michael Schmitt last edited by

            @michael-schmitt

            Also läuft der Dienst.

            1 Reply Last reply Reply Quote 0
            • Meister Mopper
              Meister Mopper @Michael Schmitt last edited by

              @michael-schmitt

              netstat -tulpn | grep 22 sagt?

              Michael Schmitt 1 Reply Last reply Reply Quote 0
              • Michael Schmitt
                Michael Schmitt @Meister Mopper last edited by

                @meister-mopper

                pi@raspberrypi:~ $ netstat -tulpn | grep 22
                (Es konnten nicht alle Prozesse identifiziert werden; Informationen über
                nicht-eigene Prozesse werden nicht angezeigt; Root kann sie anzeigen.)
                tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
                tcp6       0      0 :::22                   :::*                    LISTEN      -
                pi@raspberrypi:~ $
                
                Meister Mopper 1 Reply Last reply Reply Quote 0
                • Meister Mopper
                  Meister Mopper @Michael Schmitt last edited by

                  @michael-schmitt

                  zeig mal bitte sudo netstat -tulpn

                  Michael Schmitt 1 Reply Last reply Reply Quote 0
                  • Michael Schmitt
                    Michael Schmitt @Meister Mopper last edited by

                    @meister-mopper

                    pi@raspberrypi:~ $ sudo netstat -tulpn
                    Aktive Internetverbindungen (Nur Server)
                    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
                    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      564/sshd: /usr/sbin
                    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      395/deCONZ
                    tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      395/deCONZ
                    tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      546/redis-server 12
                    tcp        0      0 192.168.178.42:8084     0.0.0.0:*               LISTEN      1447/io.socketio.0
                    tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      569/iobroker.js-con
                    tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      569/iobroker.js-con
                    tcp6       0      0 :::8087                 :::*                    LISTEN      1520/io.simple-api.
                    tcp6       0      0 :::8081                 :::*                    LISTEN      788/io.admin.0
                    tcp6       0      0 :::8082                 :::*                    LISTEN      1369/io.web.0
                    tcp6       0      0 :::8088                 :::*                    LISTEN      816/io.admin.1
                    tcp6       0      0 :::22                   :::*                    LISTEN      564/sshd: /usr/sbin
                    tcp6       0      0 ::1:6379                :::*                    LISTEN      546/redis-server 12
                    udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1052/io.deconz.0
                    udp        0      0 0.0.0.0:1900            0.0.0.0:*                           395/deCONZ
                    udp        0      0 0.0.0.0:59302           0.0.0.0:*                           390/avahi-daemon: r
                    udp        0      0 192.168.178.42:5353     0.0.0.0:*                           7997/io.tr-064.0
                    udp        0      0 0.0.0.0:5353            0.0.0.0:*                           390/avahi-daemon: r
                    udp6       0      0 :::1900                 :::*                                1052/io.deconz.0
                    udp6       0      0 :::1900                 :::*                                1052/io.deconz.0
                    udp6       0      0 :::1900                 :::*                                1052/io.deconz.0
                    udp6       0      0 :::47338                :::*                                390/avahi-daemon: r
                    udp6       0      0 fe80::f396:6d7a:b9a:546 :::*                                516/NetworkManager
                    udp6       0      0 :::5353                 :::*                                390/avahi-daemon: r
                    pi@raspberrypi:~ $
                    
                    Meister Mopper 1 Reply Last reply Reply Quote 0
                    • Meister Mopper
                      Meister Mopper @Michael Schmitt last edited by

                      @michael-schmitt

                      Okay, für mich sieht die Konfig auf dem Raspberry richtig aus. Dann ist mein Latein leider am Ende.

                      1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 last edited by

                        Welche Putty Version?

                        Michael Schmitt 1 Reply Last reply Reply Quote 0
                        • Neuschwansteini
                          Neuschwansteini @Michael Schmitt last edited by

                          @michael-schmitt

                          Wenn ssh. Im pc zum Raspi per Shell geht, kann’s eigentlich nicht am Raspi liegen.

                          Muss also ne Einstellung am pc sein.
                          Startest Du Putty mit Admin rechten ?

                          Michael Schmitt 1 Reply Last reply Reply Quote 0
                          • Michael Schmitt
                            Michael Schmitt @wendy2702 last edited by

                            @wendy2702

                            0.83

                            Meister Mopper 1 Reply Last reply Reply Quote 0
                            • Michael Schmitt
                              Michael Schmitt @Neuschwansteini last edited by

                              @ilovegym

                              ja auch probiert

                              Neuschwansteini 1 Reply Last reply Reply Quote 0
                              • Meister Mopper
                                Meister Mopper @Michael Schmitt last edited by

                                @michael-schmitt

                                Wie kommst du denn aktuell auf den Raspi, wenn du uns die Ergebnisse zeigst? Stimmt die IP noch?

                                Michael Schmitt 1 Reply Last reply Reply Quote 0
                                • Neuschwansteini
                                  Neuschwansteini @Michael Schmitt last edited by

                                  @michael-schmitt

                                  Geht ne andere ip per ssh mit dem putty ?

                                  1 Reply Last reply Reply Quote 0
                                  • Michael Schmitt
                                    Michael Schmitt @Meister Mopper last edited by

                                    @meister-mopper

                                    mit ausgeschaltener Firewall komm ich drauf aber nicht wenn sie an ist. IP ist korekt

                                    Michael Schmitt Meister Mopper 2 Replies Last reply Reply Quote 0
                                    • Michael Schmitt
                                      Michael Schmitt @Michael Schmitt last edited by

                                      Firewall wieder an = verbindung weg.

                                      Auf meinem alten PC (Windows 10) geht Putty, den hab ich mal schnell angeschlossen

                                      1 Reply Last reply Reply Quote 0
                                      • Meister Mopper
                                        Meister Mopper @Michael Schmitt last edited by

                                        @michael-schmitt sagte in Permission denied Putty/Powershell:

                                        @meister-mopper

                                        mit ausgeschaltener Firewall komm ich drauf aber nicht wenn sie an ist. IP ist korekt

                                        Das erschloss sich mir wegen

                                        @michael-schmitt sagte in Permission denied Putty/Powershell:

                                        @meister-mopper

                                        Firewall aus per Powershell verbindung geht. Putty bringt jetzt ein "connection timeout"

                                        bisher nicht.

                                        Ja dann ist doch klar, dass ssh in der Firerwall erlaubt werden muss.

                                        1 Reply Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 last edited by

                                          Win11 fragt doch meistens beim erstenmal ob Geräte im lokalen Netzwerk …. Dürfen.

                                          Zufällig weg geklickt?

                                          Michael Schmitt 1 Reply Last reply Reply Quote 0
                                          • Michael Schmitt
                                            Michael Schmitt @wendy2702 last edited by

                                            @wendy2702 sagte in Permission denied Putty/Powershell:

                                            Win11 fragt doch meistens beim erstenmal ob Geräte im lokalen Netzwerk …. Dürfen.

                                            Zufällig weg geklickt?

                                            denke ich nicht

                                            Michael Schmitt 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            978
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            45
                                            1954
                                            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