I want to create a user who can log into my server and run the specific command only.Let say I already have a user user_xyz and his home folder is /home/user_xyz/now inside that home folder, there is another folder public_html folder.Now I want to add user say developer and his home folder is/home/user_xyz/public_htmldeveloper user can only be logged in through ssh and can not access outside of its home folder and can only run only below commandcomposer install composer updatemkdir
SSH user with specific command execution permission
linux;ssh