Follow


如果你已经 ssh 连接到服务器,临时需要建立一个端口转发(例如需要测试 ssh tunnel 连接数据库),可以不必新建一个 ssh 连接,在当前的 ssh 会话中直接输入 ~C 即可创建,步骤如下:
```
ssh user@server
~C
ssh> -L3306:server:3306
```
之后在本地访问 localhost:3306 即可 t.co/XKNj7hLZ0p twitter.com/FZUG/status/111546

t.me/-1001327394846/191

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.