AlmaLinux 9
Sponsored Link

OpenSSH : SSH Port Forwarding2023/02/20

It's possible to forward a port to another port with SSH port forwarding.
[1] For example, set SSH Port Forwarding that requests to port [8081] on [ (] are forwarded to port [80] on [ (].
# SSH login from source host to target host

[alma@dlp ~]$
ssh -L's password:
[alma@node01 ~]$
# confirm state

[alma@node01 ~]$
ssh "ss -napt | grep 8081"'s password:
LISTEN 0      128*     users:(("ssh",pid=3311,fd=4))

# listen on 8081
# keep this login session
[2] Verify to access to a port on source Host you set from any client Host, then target port on target Host replies.
Matched Content