• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

SSH Connection failed (terminal (Mac) to Raspberry)

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 4.7k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    PaulB
    last edited by Oct 26, 2016, 7:50 AM

    Hello Guys,

    since several day I am trying to lock into my raspberry 2 Model B V1.1 via the SSH Connection.
    Nevertheless the raspberry does not accept the standard password. I ve tried to reset the standard password several times. But it is not working.

    I am using the following command:

    “sudo ssh pi@raspberry”

    After that he won’t accept my password. The internet research did not help to fix my problem. Maybe you ve got a great hint.

    Thanks a lot and many greetings from Germany :)

    1 Reply Last reply Reply Quote 0
    • B Offline
      bhepler Module Developer
      last edited by Oct 26, 2016, 5:19 PM

      Did you ever change the password?
      Were you able to successfully log in via SSH prior to your troubles?

      If the password has been changed without your knowledge, that is a very bad sign. I suggest pulling the card, reformatting it, re-flashing it with Raspbian and starting from scratch.

      1 Reply Last reply Reply Quote 0
      • P Offline
        PaulB
        last edited by Oct 26, 2016, 5:34 PM

        @bhepler I thought the same :-D

        I reformator the SD card, installed the software again and as you said doing it from the scratch.

        Nevertheless, I am not able to log in via “sudo ssh pi@raspberry”, because the standard password is not working. I googled the whole day trying to find a way out. If I will find a way, I ’ ll post it later :)

        B 1 Reply Last reply Oct 26, 2016, 5:51 PM Reply Quote 0
        • B Offline
          bhepler Module Developer @PaulB
          last edited by Oct 26, 2016, 5:51 PM

          @PaulB You can flash the card, but once it’s in the Pi, you can’t SSH to it?

          Are you receiving a login prompt at all, or is the connection failing? Have you tried SSH to the IP address of the Pi? ssh pi@192.168.0.3 (or whatever).

          Does anyone remember if SSH is enabled on Raspbian by default? Or must you log in to the Pi itself and configure it?

          1 Reply Last reply Reply Quote 0
          • K Offline
            KirAsh4 Moderator
            last edited by Oct 26, 2016, 6:23 PM

            The SSH server is enabled by default on a Raspbian image. And none of the security settings are enabled by default, leaving it to accept connections.

            The default login is 'pi' with password 'raspberry'. If you are unable to log in to the rpi from a remote connection with those credentials, then you are using an invalid/corrupt/hacked image. I recommend downloading it fresh from www.raspberrypi.org.

            The fact that you said you are using sudo to SSH into the rpi tells me you are attempting to connect from a different unix machine. Is this true? For one, you do not need sudo to issue SSH commands as a regular user. And second, where are you attempting to connect FROM?

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            1 / 1
            • First post
              1/5
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy