Skip to content

SSH Forward

名称: sshd

状态: GA

sshd处理器使用SSH协议进行数据交互,用于SSH端口转发。

认证信息

在这里的认证信息是设置在sshd拨号器上。

gost -L=tcp://:8080/:80 -F sshd://gost:gost@:22
services:
- name: service-0
  addr: :8080
  handler:
    type: tcp
    chain: chain-0
  listener:
    type: tcp
  forwarder:
    nodes:
    - name: target-0
      addr: :80
chains:
- name: chain-0
  hops:
  - name: hop-0
    nodes:
    - name: node-0
      addr: :22
      connector:
        type: sshd
      dialer:
        type: sshd
        auth:
          username: gost
          password: gost

这里的:22服务可以是系统本身的标准SSH服务,也可以是GOST的sshd类型服务

参数列表

限制

SSHD连接器只能与SSHD拨号器一起使用,构建基于SSH协议的标准端口转发服务。