LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2009, 11:49 AM   #1
drakeman007
Member
 
Registered: Nov 2008
Location: Panama
Distribution: Debian Lenny
Posts: 33

Rep: Reputation: 15
Help about chroot with rssh - sftp


Hello guys, can anyone help me please! i have installed openssh in my debian lenny, i follow the steps in this site
I did everything like the tutorial, but when i tried to connect via sftp i get this error after i put the password.

Code:
Couldn't read packet: Connection reset by peer
the user.log say this:

Code:
Jun  4 11:27:47 drake rssh[6126]: allowing sftp to all users
Jun  4 11:27:47 drake rssh[6126]: setting umask to 0770
Jun  4 11:27:47 drake rssh[6126]: chrooting all users to /home/ftp/
Jun  4 11:27:47 drake rssh[6126]: chroot cmd line: /usr/lib/rssh/rssh_chroot_helper 2 "/usr/lib/openssh/sftp-server"
Jun  4 11:27:47 drake rssh_chroot_helper[6126]: new session for ftp, UID=1001
Jun  4 11:27:47 drake rssh_chroot_helper[6126]: chroot() failed, 2: Operation not permitted
the auth.log say this
Code:
Jun  4 11:22:50 drake sshd[6058]: Accepted password for ftp from 192.168.1.33 port 57732 ssh2
Jun  4 11:22:50 drake sshd[6058]: pam_unix(sshd:session): session opened for user ftp by (uid=0)
Jun  4 11:22:50 drake sshd[6067]: subsystem request for sftp
Jun  4 11:22:50 drake sshd[6058]: pam_unix(sshd:session): session closed for user ftp
what could be the problem? i dont know what else i can do!! can anyone help me please?

Regards!
 
Old 06-04-2009, 11:04 PM   #2
drakeman007
Member
 
Registered: Nov 2008
Location: Panama
Distribution: Debian Lenny
Posts: 33

Original Poster
Rep: Reputation: 15
Any ideas please?
 
  


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
SFTP via rssh on Gentoo mcjules Linux - Software 0 01-15-2008 04:02 PM
RSSH with SFTP or some other alternative mattdyke Linux - Security 3 10-12-2006 01:21 PM
weird sftp/rssh problem cantabile Linux - Software 1 05-15-2006 11:24 AM
rssh/sftp chroot problem julz_51 Linux - Security 1 11-01-2005 03:50 PM
sftp via rssh security questions plan9 Linux - Security 2 08-04-2004 10:38 AM


All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration