我的新生产服务器只能通过 ssh 双隧道看到。我可以通过 Ubuntu 的 14.04 控制台访问targetHost,只需执行命令ssh targetHost
而不是在远程机器上执行 mysql cli,但我想通过 gui Workbench 访问 MySQL db。如何在 Workbench 中配置连接来实现呢?
我的.ssh/config:
Host targetHost, firewallHost
User username
IdentityFile /home/michalszulc/.ssh/id_rsa
Host targetHost
proxycommand ssh -W %h:%p firewallHost
Host firewallHost
hostname firewallHost.example.com
port 2201
passwordauthentication no
controlmaster auto
controlpath ~/
Host targetHost
Hostname 123.123.123.123
Run Code Online (Sandbox Code Playgroud) 如何在 Amazon S3 存储桶子文件夹中的大量 .gz 文件中搜索字符串?我试图通过 s3fs 和 zgrep 安装它,但它太慢了。你使用任何其他方法吗?
也许有任何亚马逊服务可以用来快速 zgrep 它们?