Ubuntu 20.04
Sponsored Link

OpenSSH : SSH Port Forwarding
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 [dlp.srv.world (] are forwarded to port [80] on [node01.srv.world (].
# SSH login from source host to target host

ssh -L ubuntu@node01.srv.world

cent@node01.srv.world's password:  
# password of the user

# confirm

[cent@node01 ~]$
ssh dlp.srv.world "ss -napt | grep 8081"

cent@dlp.srv.world's password:
LISTEN    0         128       *        users:(("ssh",pid=4099,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