Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Then the jail is not initiated correctly. You can check that in /etc/passwd. As fasr as I know, you can not even use sftp in a jail in ispconfig, so if the jail would be there, then not sftp login is possible.
In general, I recommend that you use ftps and not sftp. ftps is FTP over a secure TLS encrypted connection which runs over the FTP daemon so that it can benefit from the virtual ftp jails while sftp is a ssh protocol and needs full ssh jails.
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Quote:
please can you tell me what I have to check/correct in /etc/passwd?
Check the shell of the shell users in /etc/passwd. If its /bin/bash, then they are not jailed. if the shell is something like jk_chrootsh, then the users are jailed.
Quote:
FTPS users are configured as shell users or ftp users in ISPConfig 3?
FTPS users are configured as FTP users in ispconfig.
in /etc/passwd there is:
web9:x:5011:5006::/var/www/clients/client2/web9/./home/web9:/bin/false
user9:x:5011:5006::/var/www/clients/client2/web9/./home/user9:/usr/sbin/jk_chrootsh
while in ISPConfig:
user9
Chroot Shel=Jailkit
Options:
Web Username=web9
Web Group=client2
Shell=/bin/bash
Dir=/var/www/clients/client2/web9
the only oddity seems the web9 user's shell
/bin/false in /etc/password
/bin/bash in ISPconfig
Recent comments
1 day 7 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 18 hours ago
2 days 8 hours ago
2 days 8 hours ago
2 days 13 hours ago
2 days 20 hours ago
2 days 21 hours ago
2 days 22 hours ago