SFTP and JailKit not working
Posted: Fri Jan 20, 2017 10:14 am
SFTP Chroot and Jailkit are not working.
I restarted the server several times and still no chroot.
Additionally I encountered the following problem following the instructions from this thread:
2. Do I need to modify /etc/jailkit/jk_init.ini in order to get it to work and how do I modify it ?
I am sorry for posting in the wrong forum, but I still have no access to the PLUGINS forum although I paid for Chroot.
I restarted the server several times and still no chroot.
Additionally I encountered the following problem following the instructions from this thread:
1. Can't find the line containing /sbin/jk_initDownload all the files located on the GitHub repository folder /bin
Open the file v-add-sys-sftp-jail with your desired editor
Search for /sbin/jk_init
Modify the following lines as you prefeer and save the file: > You must specify which packages the user should be able to use here.
/sbin/jk_init -f -j $chroot basicshell editors extendedshell netutils ssh sftp scp git
/sbin/jk_cp -f -j $chroot /bin/id
Modify /etc/jailkit/jk_init.ini as you prefeer
2. Do I need to modify /etc/jailkit/jk_init.ini in order to get it to work and how do I modify it ?
I am sorry for posting in the wrong forum, but I still have no access to the PLUGINS forum although I paid for Chroot.