Giter Site home page Giter Site logo

Comments (4)

yiding-he avatar yiding-he commented on September 27, 2024 1

@zxdong262 不行。截图中的 R->L 和 L->R 分别对应 ssh -Lssh -R 两个场景,然后 ssh 还支持第三种场景就是 ssh -D,这个是无法用前两种场景替代的。

例如某内网跳板机公网地址为 1.2.3.4,内网地址为 10.0.0.1,那么我可以用 ssh -D 1080 [email protected] 在本地开一个 SOCKS 代理,浏览器配置这个代理后,就可以在地址栏输入 http://10.0.0.2 来访问内网 10.0.0.2 的页面,而且任何端口都可以。这就是动态代理。

PuTTY 对应的配置如图下,你可以看到 Destination 下面的三个单选框,它就对应了上面说的三种场景。

kitty_portable_vSsi56yxx5

我还可以给更多例子:

java_yuiwUCnfoy

上面这个是 FinalShell 的配置

TTYEmulPE_hVkDDm76FN

上面这个是 TTYEmulator 的配置

大部分 SSH 工具都会支持这个选项,也侧面说明它是不可代替的。

from electerm.

zxdong262 avatar zxdong262 commented on September 27, 2024

SSH隧道那里可以吗?最新版支持地址设定,不是写死127.0.0.1
Screen Shot 2024-05-15 at 18 06 16

from electerm.

zxdong262 avatar zxdong262 commented on September 27, 2024

感谢反馈,将在后续版本加入

from electerm.

zxdong262 avatar zxdong262 commented on September 27, 2024

最新版已经加入

from electerm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.