Skip to main content
2 of 5
deleted 72 characters in body
Caleb
  • 72k
  • 19
  • 203
  • 234

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 priviledges 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