Link to home
Start Free TrialLog in
Avatar of rkesters
rkesters

asked on

SSH administration

I want to limit what all user can do via SSH, mainly I only want to allow sFTP and SCP,  is there a way to prevent my SSH sever from accepting any other command.

Robert
Avatar of gheist
gheist
Flag of Belgium image

You cannot. You can code your own channel.c of OpenSSH which does not allow command channels.
(You will dig deeper - changing shell is of no value - users can override that)
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial