Limiting SSH accounts

HI,

I'm not sure how to do this but i'm sure one of you gods out their knows how to do it.

This is what I want to do (system is redhat 7.3):

I want to limit ssh users so they can't browes out of their home directory and if possible so they don't have access to certain commands such as top, wget, users, and uptime (not so important uptime).

Is there a way I can do this at all?

I'm new to doing this type of stuff on linux so a morons guide to doing it would be excellent.


Thanks for your help in advance.

 

 

 

 

Top