Skip to main content
4 of 5
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/

How to restrict an SSH user to only allow SSH-tunneling?

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.

LanceBaynes
  • 41.6k
  • 101
  • 256
  • 355