How does ssh set up a security springboard?
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