URL: https://redis.io/
Docs: https://redis.io/docs/latest/
Utilidades
Usando telnet com senha
To authenticate with a password when connecting to Redis via telnet, you must manually send the AUTH command after connecting:
-
Start a telnet session to your Redis server:
telnet
For example:
telnet 127.0.0.1 6379
-
Once connected, send the AUTH command with your password:
AUTH yourpassword
If you are using Redis 6+ with ACLs (user accounts), use:
AUTH username yourpassword
If authentication succeeds, you should receive an
+OK
response[2][3][5].
Note: Telnet does not support command-line password passing for Redis; you must send the AUTH command interactively. Also, be aware that using telnet sends credentials in plaintext, which is insecure unless you are connecting over a secure tunnel (e.g., using Stunnel)[5][4].
Would you like an example of a full telnet session, or are you looking for a more secure way to connect?
Citations: [1] https://stackoverflow.com/questions/35745481/redis-cli-with-password [2] https://redis.io/docs/latest/commands/auth/ [3] https://gist.github.com/peterjaap/fef241113b9fe3de9709 [4] https://cloud.google.com/memorystore/docs/redis/connect-redis-instance [5] https://redis.io/docs/latest/operate/oss_and_stack/management/security/ [6] https://redis.io/docs/latest/develop/tools/cli/ [7] https://www.instaclustr.com/support/documentation/redis/using-redis/use-redis-with-the-command-line/ [8] https://www.digitalocean.com/community/cheatsheets/how-to-connect-to-a-redis-database
Resposta do Perplexity: pplx.ai/share