Si sólo tiene telnet (y no 'Redis-cli'), entonces usted necesita para utilizar el protocolo unificado Redis binario seguro de utilizar espacios en los nombres de teclas, por ejemplo:
telnet localhost 6379
*2
$3
GET
$17
field with spaces
hello (this is Redis answer if "field with spaces" contains value "hello")
Explanation:
*2 = Number of arguments (first arg is "GET" and second is "field with spaces")
$3 = length of first argument ("GET" contains 3 bytes)
$17 = length of second argument ("field with spaces" contains 17 bytes)
Más información sobre el protocolo binario-seguro de Redis: http://redis.io/topics/protocol
No tengo acceso de ssh. Yo uso la conexión telnet. – user769353
@ user769353 Puede conectarse con redis-cli también a los servidores Redis de otros hosts, use el parámetro -h ('redis-cli -h 8.8.8.8'). –