jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] sftp fails when Jail user tries to login. 'Connectio


From: Olivier Sessink
Subject: Re: [Jailkit-users] sftp fails when Jail user tries to login. 'Connection Closed'
Date: Sun, 16 Feb 2014 18:25:28 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 02/16/2014 12:13 PM, aravind kamath wrote:
> 
> */susepc1 etc/jailkit> cat jk_lsh.ini/*
> */## example for a user/*
> */#[test]/*
> */paths= /usr/bin, /usr/lib//*
> */executables= /usr/bin/scp, /usr/lib/sftp-server/*
> */#allow_word_expansion = 0/*
> */#umask = 002/*

you forgot to remove the hash # in front of [test]

which explains the error:

> The error I see is in /var/log/warn
> 
> */jk_lsh[6961]: did neither find a section 'test', nor 'group users' nor
> 'DEFAULT' in configfile /etc/jailkit/jk_lsh.ini/*

jk_lsh cannot find a section 'test' in /opt/sftpjail/etc/jailkit/jk_lsh.ini

Olivier

-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]