• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Installing Mosquitto MQTT Broker on a Raspberry Pi

Q&A Forum › Category: Raspberry Pi › Installing Mosquitto MQTT Broker on a Raspberry Pi
0 Vote Up Vote Down
Jaco Muller asked 2 months ago

Good Evening
 
I have a Raspberry Pi model B Rev 2 512 Mb Ram. I have made a fresh installation on the SD card. I have installed Mosquitto, but now I want to use Putty to remote into the Raspberry Pi. I have enabled SSH on the Raspberry. I have also set a static IP address. I have installed putty on my Windows 11 laptop. Both are connected to the same network. When I try to open the connection from putty, I use the username “pi” and password “raspberry”. The connection does not happen and the report is “access denied”. Do you have any idea what is wrong.

Question Tags: PuTTY, Raspberry Pi
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
If you get the “access denied” error, the most likely issue is an incorrect username and password.
Maybe you set something different without noticing when you installed the operating system.
 
Regards,
Sara

0 Vote Up Vote Down
Jaco Muller answered 2 months ago

Hi Sara, thanks for the answer. My understanding is the default user and password for first connection of Putty is “pi” and “raspberry”. That is why I am trying to connect with that. When I configure my Raspberry board, I didn’t use a password. Up to now, it never asked me for a password.

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

When you installed the Raspberry Pi OS, there is a section to enable SSH and set the username and password for SSH. Maybe you didn’t enable the SSH?
 
if you connect a monitor to the Pi, you can enable SSH manually.
Or you can set it by creating a file on the Pi microSD card, we show how to do that in this tutorial under the section “
4) Enabling SSH”
 
https://randomnerdtutorials.com/installing-raspbian-lite-enabling-and-connecting-with-ssh/

I hope this helps.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.