[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jailkit-users] CentOS 5.2 sftp / scp jail
From: |
Olivier Sessink |
Subject: |
Re: [Jailkit-users] CentOS 5.2 sftp / scp jail |
Date: |
Wed, 18 Feb 2009 20:15:13 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Enrico Hofmann wrote:
> hi i use the turtorial on the jailkit site
>
> http://olivier.sessink.nl/jailkit/howtos_sftp_scp_only.html
>
> also make the fix inside the /etc/ld.so.conf
>
> i make the jail inside /srv/sftpjail
>
> in /etc/sftpjail/etc/jailkit/jk_
> lsh.ini
>
> # i think the following should work for centos
> [myuser]
> paths= /usr/bin, /usr/libexec/openssh
> executables= /usr/bin/scp, /usr/libexec/openssh/sftp-server
>
> when i am trying to connect by sftp i get an error:
> " Fatal: unable to initialise SFTP on server: could not connect"
what is in your logs?
did you enable logging in the jail? (either with syslog or with jk_socketd?)
regards,
Olivier
Re: [Jailkit-users] CentOS 5.2 sftp / scp jail,
Olivier Sessink <=