小编Mic*_*ulc的帖子

通过 MySQL Workbench 的 SSH 隧道

我的新生产服务器只能通过 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)

ssh ssh-tunneling mysql mysql-connection

8
推荐指数
1
解决办法
8147
查看次数

使用日志在 ​​s3 存储桶内搜索

如何在 Amazon S3 存储桶子文件夹中的大量 .gz 文件中搜索字符串?我试图通过 s3fs 和 zgrep 安装它,但它太慢了。你使用任何其他方法吗?

也许有任何亚马逊服务可以用来快速 zgrep 它们?

grep amazon-s3 s3fs

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

amazon-s3 ×1

grep ×1

mysql ×1

mysql-connection ×1

s3fs ×1

ssh ×1

ssh-tunneling ×1