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: Enrico Hofmann
Subject: Re: [Jailkit-users] CentOS 5.2 sftp / scp jail
Date: Wed, 18 Feb 2009 13:35:32 +0100

hi, i add the line...

but connection with system user like root is posible

gigo

2009/2/18 <address@hidden>
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: jailkit-users-bounces+christian.peper=kpn.com@nongnu.org [mailto:jailkit-users-bounces+christian.peper=kpn.com@nongnu.org] 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

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



reply via email to

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