jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Error in sftp scp setup


From: Stephen Tallowitz
Subject: Re: [Jailkit-users] Error in sftp scp setup
Date: Sun, 19 Mar 2006 13:46:09 +0100

Hello John,

> > Mar 19 06:02:49 ls4 jk_lsh[16326]: WARNING: user test_user (503) tried
> > to run '/usr/libexec/openssh/sftp-server', which is not allowed
> > according to /etc/jailkit/jk_lsh.ini
> 
> what are the contents of /home/test_user/etc/jailkit/jk_lsh.ini ? jk_lsh
> is running inside the jail, so you probably want to edit the configfile
> in the jail.

... in such a way that /usr/libexec/openssh/sftp-server is accessible - this is 
the executable the openssh server is trying to open - see error message. The 
original config (which works on most distributions and os) assumes 
/usr/lib/sftp-server as the executable. This does not seem to be the case on 
CentOS. So this is probably just a case of correcting the "paths=" and 
"executables=" directives in jk_lsh.ini.

Cheers,
Stephen 




reply via email to

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