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 | 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> | ||
On a different shell the second command sends a message which should be received by the command above | |||
<syntaxHighlight lang="bash"> | <syntaxHighlight lang="bash"> | ||