Mosquitto: Difference between revisions

imported>Onny
m Fix password authentication example
imported>Onny
mNo edit summary
Line 37: Line 37:
Use the hash after <code>root:</code> for the following configuration.
Use the hash after <code>root:</code> for the following configuration.


Change the Mosquitto listeners configuration by addming a user, in this example called <code>root</code> with the hased password.
Change the Mosquitto listeners configuration by adding a user, in this example called <code>root</code> with the hashed password.


<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
Line 63: Line 63:
</syntaxHighlight>
</syntaxHighlight>


and sending on a different shell a message which should be received by the command above
On a different shell the second command sends a message which should be received by the command above


<syntaxHighlight lang="bash">
<syntaxHighlight lang="bash">