How to restrict an SSH user to only allow SSH-tunneling?
83
votes
3
answers
74670
views
How can I restrict a user on the SSH server to allow them **only** the privileges for SSH tunneling ? i.e. So they cannot run commands even if they log in via SSH.
My Linux servers are Ubuntu 11.04 and OpenWrt.
Asked by LanceBaynes
(41475 rep)
Jun 3, 2011, 08:47 AM
Last activity: Feb 4, 2025, 07:22 PM
Last activity: Feb 4, 2025, 07:22 PM