Eventually I did "tail -f /var/log/messages" and saw this msg
Nov 24 02:23:06 vyam setroubleshoot: SELinux is preventing
/usr/sbin/sshd "name_connect" access on <Unknown>. For complete
SELinux messages. run sealert -l 2ac9d527-18a0-4efc-81fd-3d3694aef179
and "sealert -l 2ac9d527-18a0-4efc-81fd-3d3694aef179" told me to
# setsebool -P sshd_forward_ports 1
which fixed the issue, same as "setsebool sshd_forward_ports=on".
BTW, vncviewer from tigervnc has a -via option, so you can do
ssh -via user_name@ip_linux_server :1
instead of
ssh -L 5902:localhost:5901 user_name@ip_linux_server
Here the reason why we use "tunneling" in lieu of "port fowarding."
With "ssh -vvv -L5598:0:5901 taiwan", ssh says
debug1: sys_tun_open: failed to configure tunnel (mode 1): Operation not permitted
Tunnel device open failed.
Could not request tunnel forwarding.
You see, I requested "port forwarding," but ssh told me it had issue
with "tunnel." I agree that the proper term should "port forwarding"
here.
---------- Post added at 03:17 AM GMT ---------- Previous post was at 02:51 AM GMT ----------
I opened
bug656813 selinux should allow sshd port forwarding by default
to request change of this setting. Let's see if this brings anything.