Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How does ssh set up a security springboard?

Shulou Source: shulou.com Published: 2022-06-01 07:56:47 10月01日 Update

Two environmental centos7 sets

Jumping machine: eth0:X.X.X.X

Eth2:10.165.93.161

Private network host: eth0:10.165.93.162

Ssh-4fg-L 2222 localhost 10.165.93.162 localhost

Parsing:

-4 in ipv4 address format

-f running in the background

-g allows remote hosts to connect to local port 2222

-L [bind_address:] port:host:hostport

-N Do not execute a remote command. This is useful for just for-

Warding ports (protocol version 2 only).

Log in to the private network CVM with ssh x.x.x.x:2222

Tags: Host springboard backend address format environment port x.x.x.x login operation security Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB Xiaomi vpn Linux