Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does ssh set up a security springboard?

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report