I have a problem with making a restricted shell for scp (WinSCP). When i using scponly shell or jailkit or whatever, I get always the error that WinSCP can't find the sftp-server. Even when I get the sftp-server acces.
error in Winscp.log
(ESshFatal) Connection has been unexpectedly closed. Server sent command exit status 139.
Cannot initialize SFTP protocol. Is the host running a SFTP server?
Without the restriction winscp works perfectly. And with the rstricted shell, I can login, but nothing else
Is there any way to get a restricted shell in MyBook???