I have to restrict sftp access. Actually I had already tried to to follow this doc https://www.ibm.com/support/pages/using-chroot-ibm-i-restrict-ssh-sftp-and-scp-specific-directories .
Unfortunately when the home dir path of the user profile becomes /QOpenSys/QIBM/UserData/SC1/OpenSSH/chroot/./home/userX , when logging in with ssh the window closes immediately after having typed the password. Removing the dot (/.) from the home dir path lets the user login again but he is not restricted to that directory
Thank you for your responses