我使用带有ProxyCommand的SSH配置文件从堡垒主机跳转到目标主机。具体来说,ProxyCommand使用一个云服务CLI,它使用我最初传递的主机名/用户/端口,在数据库中查找它们,并通过它们的堡垒将我连接到主机。本质上看起来是这样的:
Host host-*
ProxyCommand /bin/the-cli %h %r %p
问题是目标主机名的数据库是区分大小写的,即host-XyZ,但是SSH总是将我最初输入的主机名(%h)转换为小写字符串。所以最终的结果是:
$ ssh host-XyZ
Bastion service: there are no targets with
我的logstash.yml看起来像:
cloud.id: "Test:testkey"
cloud.auth: "elastic:password"
在""中,前面有两个空格,末端没有空格
这是我在logstash.yml上所有的东西,没有别的,
我得到的是:
[2018-08-29T12:33:52,112][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error.