|
From: | Enrico Hofmann |
Subject: | Re: [Jailkit-users] CentOS 5.2 sftp / scp jail |
Date: | Wed, 18 Feb 2009 13:58:05 +0100 |
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 gigo2009/2/18 Enrico Hofmann <address@hidden>
hi, i add the line...
but connection with system user like root is posible
gigo2009/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 jailhi 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
[Prev in Thread] | Current Thread | [Next in Thread] |