R roywu Oct 14, 2023 #1 Why did I use permitopen to qualify-L without success. I modified the authorized_keys file, and other files default. Is there a switch somewhere else? Attachments ssh.jpg 174.2 KB · Views: 118
Why did I use permitopen to qualify-L without success. I modified the authorized_keys file, and other files default. Is there a switch somewhere else?
OP R roywu Oct 15, 2023 Thread Starter #2 I modified the DisableForwarding yes and AllowTcpForwarding no in / etc/ssh/sshd_config and restarted sshd. But users can still SSH-L any port. What is the reason for this? The configuration turned out to be invalid. Maybe the above question has something to do with this phenomenon, do you agree?
I modified the DisableForwarding yes and AllowTcpForwarding no in / etc/ssh/sshd_config and restarted sshd. But users can still SSH-L any port. What is the reason for this? The configuration turned out to be invalid. Maybe the above question has something to do with this phenomenon, do you agree?
OP R roywu Oct 15, 2023 Thread Starter #3 I took another test: In AllowTcpForwarding no, ssh-R can be restricted. But ssh-L exemption, normal Forwarding
I took another test: In AllowTcpForwarding no, ssh-R can be restricted. But ssh-L exemption, normal Forwarding