Fixed connecting to redis without using ssh.