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

winscp give me the following message: Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended).

2009/2/18 Enrico Hofmann <address@hidden>
ok a little bit more informations

userdir is inside /home/userfolder

when i create the user ftp works fine, i use proftpd

then i try the tutorial with some fixes for centos ... that i write in my first request....

after that i can not connect to ftp, or sftp or scp...

winscp give me an error that it does not get any welcome message

greetings gigo

2009/2/18 Enrico Hofmann <address@hidden>

hi, i add the line...

but connection with system user like root is posible


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. :)

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


also make the fix inside the /etc/ld.so.conf

i make the jail inside /srv/sftpjail

in /etc/sftpjail/etc/jailkit/jk_

# i think the following should work for centos
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

reply via email to

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