ssh_tunnel_shell: Disable console message output
Users with only the "User - System: SSH Tunneling" privilege get the
ssh_tunnel_shell program as their shell. When connected, these users receive console wall(1) type messages such as login notices, which are not relevant to ssh tunneling.
If possible, these messages should be muted rather than displayed to the user.
Updated by Jim Thompson almost 3 years ago
It’s worse than that. If I’m looking at the right source, that binary does nothing but chatter at the poor user.
Also, nbytes is unititislized on the stack, and tested > 0 on first use. Sheer chance that it works.
This POS needs a rewrite.
Updated by Carlos Man 7 months ago
I just upgraded to 2.5.0. I had regular users configured with the "User - System: SSH tunneling" permission, accessing a SQL server via SSH tunnel through the firewall. With this new version of pfSense, those same users can ONLY use the same SSH tunnel if they are configured as administrators. Otherwise, the tunnel does not work.