Unable to remote ssh login (permission denied)

view story

http://www.linuxquestions.org – Hi, Im using RHEL 6. I have setup two user accounts as below: 1. john (home dir: /home/john) 2. robert (home dir: /home/john/robert) After I setup both account, I’ve no problem to login using john account from remote terminal but login using robert was failed with error message ‘permission denied’. This only happened when I used remote terminal to login but if used switch user (su –l robert) internally from the server which the user account robert was created, I managed to login. My early assumption was this error occurred due to home dir of robert which was setu (HowTos)