redis configure authentication password

http://blog.csdn.net/zyz511919766/article/details/42268219

First enter the Redis-cli console
#./redis-cli

enter auth + space + the password you just set

successfully



Redis remote connection

1.1 Remote connection
[list]
  • No permission control by default
  • Remote service connection:
    $ Redis-cli -h 127.0.0.1 -p 6379

    Remote service stopped:
    $ redis-cli -h 172.168.10.254 -p6379 shutdown
  • When there is permission control (plus -a password)
  • redis-cli -h 127.0.0.1 -p 6379 -a 123456

    In addition to specifying a password through the -a parameter when logging in, you can also log in without specifying a password, but authenticate before performing the operation

    [/list]
    http://blog.csdn.net/vtopqx/article/details/46833215

    Guess you like

    Origin http://43.154.161.224:23101/article/api/json?id=326526841&siteId=291194637