jailkit-users
[Top][All Lists]
Advanced

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

Re: [Jailkit-users] Re: Jailkit-users Digest, Vol 22, Issue 5


From: Gavin Rogers
Subject: Re: [Jailkit-users] Re: Jailkit-users Digest, Vol 22, Issue 5
Date: Sun, 29 Jul 2007 23:36:40 -0500

Wei-Yen,

What are the permissions on  '/usr/lib/openssh/sftp-server'? Also, do you have that executable set up in your /etc/jailkit/jk_lsh.ini file? You need something like this:

[username]
paths= /usr/bin, /usr/libexec
executables= /usr/bin/scp, /usr/libexec/sftp-server, /usr/bin/rsync

Let us know what that file looks like as well,

gavin


On 7/29/07, Olivier Sessink <address@hidden> wrote:
Wei-Yen Tan wrote:
> Hi there Oliver,
>
> Thank you for the reply. I was away for a while and just returned back
> from a trip and just managed to have a look at this just now.
>
> Thanks for the link to the auth.log. I am kind of new and have learnt a
> lot extra in terms of looking at logs for diagnosing linux issues. I
> tracked the initial problem to a permission error...having to set the
> executables correct and such. Now I get the message in the auth.log is:
>
>
> Jul 28 22:55:09 xxx jk_chrootsh[26801]: now entering jail /home/sftproot
> for user test (1002)
> Jul 28 22:55:09 xxx jk_lsh[26801]: jk_lsh version 2.3, started
> Jul 28 22:55:09 xxx jk_lsh[26801]: executing command
> '/usr/lib/openssh/sftp-server' for user test (1002)
> Jul 28 22:55:09 xxx sshd[26800]: (pam_unix) session closed for user test

the jailkit configuration seems OK. Most common issue if sftp-server
doesn't start is that /dev/null is missing in the jail. Can you check that?

Olivier


_______________________________________________
Jailkit-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/jailkit-users



--
http://vk6hgr.echidna.id.au/~gavin8or/
Gavin Rogers, full time problem solver.
reply via email to

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