LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 06-09-2006, 05:41 AM   #1
kicko
LQ Newbie
 
Registered: Nov 2005
Distribution: Slackware 10, Mandriva 2006
Posts: 10

Rep: Reputation: 0
Question Problem with Scponly and chrooted SFTP


Hello,

I tried to install scponly from source code. I created new user with shell "scponly" ... all works fine, user can login via SFTP.

Then I tried to setup chrooted SFTP with SCPONLY's "make jail" command. But user can't login via SFTP ...

Filezilla:
Code:
 Status:	Connecting to mandriva:22 ...
 Status:	Connected with mandriva:22, initializing SFTP connection...
 Command:	CONNECT testing@mandriva:22
 Response:	Fatal: unable to initialise SFTP: could not connect
 Error:	Unable to connect!
Mandriva log:
Code:
Jun  9 10:27:29 mandriva sshd[9042]: Accepted password for testing from 192.168.0.2 port 1699 ssh2
Jun  9 10:27:29 mandriva sshd[9044]: subsystem request for sftp
Jun  9 10:27:29 mandriva scponly[9045]: chrooted binary in place, will chroot()
Jun  9 10:27:29 mandriva scponly[9045]: 3 arguments in total.
Jun  9 10:27:29 mandriva scponly[9045]: ^Iarg 0 is scponlyc
Jun  9 10:27:29 mandriva scponly[9045]: ^Iarg 1 is -c
Jun  9 10:27:29 mandriva scponly[9045]: ^Iarg 2 is /usr/lib/ssh/sftp-server
Jun  9 10:27:29 mandriva scponly[9045]: opened log at LOG_AUTHPRIV, opts 0x00000029
Jun  9 10:27:29 mandriva scponly[9045]: retrieved home directory of "/home/testing" for user "testing"
Jun  9 10:27:29 mandriva scponly[9045]: chrooting to dir: "/home/testing"
Jun  9 10:27:29 mandriva scponly[9045]: chdiring to dir: "/"
Jun  9 08:27:29 mandriva scponly[9045]: setting uid to 503
Jun  9 08:27:29 mandriva scponly[9045]: processing request: "/usr/lib/ssh/sftp-server" 
Jun  9 08:27:29 mandriva scponly[9045]: running: /usr/lib/ssh/sftp-server (username: testing(503), IP/port: 192.168.0.2 1699 22)


It doesn't work on two Mandriva boxes (i686, 64bit). But it's working on two Slackware boxes . I think that problem is in the Mandriva.



Thank you for your help
 
Old 06-11-2006, 04:23 AM   #2
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
Pls consider wrting a bugreport about it to the Mandriva Bugzilla.
 
Old 07-14-2006, 02:10 PM   #3
treebug
LQ Newbie
 
Registered: Mar 2005
Posts: 29

Rep: Reputation: 15
I am also having this problem with RedHat. Was there a solution?
It works with psftp and winscp.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with ScpOnly XaViaR Linux - General 6 12-22-2005 06:22 PM
FC3 : Failing to configure a chrooted sftp gmuller Linux - Software 3 06-28-2005 02:39 AM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 10:14 PM
chrooted apache problem ixion Linux - Security 19 03-29-2005 04:21 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 11:29 AM


All times are GMT -5. The time now is 09:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration