jailkit-users
[Top][All Lists]
Advanced

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

RE: [Jailkit-users] CentOS 5.2 sftp / scp jail


From: christian.peper
Subject: RE: [Jailkit-users] CentOS 5.2 sftp / scp jail
Date: Wed, 18 Feb 2009 13:06:30 +0100

Did you enable the sftp subsystem inside your /etc/ssh/sshd_config?
I think I had the same thing and realized I had turned the subsystem off. :)
 
Chris.


From: address@hidden [mailto:address@hidden On Behalf Of Enrico Hofmann
Sent: Wednesday, February 18, 2009 12:57 PM
To: address@hidden
Subject: [Jailkit-users] CentOS 5.2 sftp / scp jail

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"

greetings gigo

reply via email to

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