redis remote connect password code example Example: redis cli connect to remote server with password $redis-cli -h 127.0.0.1 -p 6379 -a mysupersecretpassword