open up ssh port code example
Example 1: change sshd config
sudo nano /etc/ssh/sshd_config
Example 2: port forwarding linux
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# ENABLES IP FORWARDING TEMPORARILY
sudo nano /etc/ssh/sshd_config
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# ENABLES IP FORWARDING TEMPORARILY