I want to give ssh access to one of my box to someone but I don’t want him to be able to get out of his home directory. Such as if his home is /home/bob, I don’t want him to be able to see /home, / and whatever there’s in /. What’s the best/simplest way to do so?
Giving the proper permissions to the users and their groups doesn’t work for you?
i.e. if you set /home to 750, nobody but the owner and its group members should read or list it, isn’t it?