I did the task for installing and configuring SFTP with chroot and SSH access denied. But when submitting for task grading it shows me that the user is able to ssh but I have tested that user con only connect to SFTP.
Any suggestion please?
Are you work with nologin shell when u create the ravi user ?
after that response I tought that it able to connect with ssh just the working dir for that user is wrong
Please refer to this steps and submit your task when next time it will assign you.
In below link I have posted all the steps which are necessary to complete the task.
Thank you for your reply @AkshayT
I don’t see any difference between what I did and the steps you provided except security restrictions that were not requested by the task. I was able to sftp my app server with chroot and not able to ssh (as shown by the screenshot) but when pushing my work, I saw failed task because the user is able to ssh app server (which was not the case).