redis-ssh2
JSON →redis-ssh2 is a Node.js package (v1.0.3) that enables executing Redis commands over an SSH tunnel using ioredis and ssh2. It creates a local SSH tunnel to a remote server and then connects to Redis through that tunnel, bypassing restrictions on localhost-only connections. The package wraps ioredis for Redis operations and ssh2 for SSH connections. It is particularly useful when Redis is only accessible from a webserver and not directly from the client. The API consists of a single connect() function that accepts SSH and Redis configurations and returns a promise that resolves to an ioredis client. Users must close the tunnel with Redis.close() when done.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 3 distinct systems
last hit 21d ago human
top countries 🇺🇸 United States · 🇫🇷 France · 🇸🇬 Singapore · 🇩🇪 Germany
Resources
packageredis-ssh2 ↗