【发布时间】:2015-03-27 14:51:14
【问题描述】:
关于Elasticsearch HTTP API,我想知道我是否想远程访问SSH服务器上的集群, 我应该在我的 http rest 命令中包含什么:
curl -XGET ' http://localhost:9200/ index /_mapping/ type '
我尝试了类似下面的方法但失败了:
curl -XGET -u cloud-user: --key ~/.ssh/id_rsa --pubkey ~/.ssh/id_rsa.pub 'xx.xxx.xxx.xxx:9200/index/_mapping/type'
有没有人知道正确的命令或替代解决方案?
【问题讨论】:
标签: ssh elasticsearch