ssh server on port code example
Example 1: port forwarding linux
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# ENABLES IP FORWARDING TEMPORARILY
Example 2: ssh on specify port
ssh user@remotehostip -p XXX
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# ENABLES IP FORWARDING TEMPORARILY
ssh user@remotehostip -p XXX