LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-27-2010, 08:32 AM   #1
iSpaZZZ^
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Rep: Reputation: 0
OpenSSH 4.7+ chroot-ed SFTP and CentOS 5.3


Hi Peeps,

PLEASE HELP ME!! I have a CentOS-based VPS that has a few small sites on, I can give users chroot-ed vsftp access, to thier home directory (where the site content is). This all well and good, but I think its a bit weak from a security perspective, as all people here would know FTP is an old and insecure protocol, so I would like to setup chrooted sftp access. CentOS 5.3 only comes with openSSH 4.3, wich doesnt support chrooted-sftp. There are various semi-guides areound the place as to how to install a later version of SSH but they seem to be very messy, and i wondered if anyone know of a guide, or could make one, that is simple to follow andactualy works. I will be very greatfull if someone could at least look into this for me.

I would greatly appreiate it if someone could help me with this. Thanks.
 
Old 05-27-2010, 06:46 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
I don't know of an elegant solution to this problem with your OpenSSH version. There are possibilities - e.g. compiling an suid-bit scponly shell - but IMO they're worse than the problem you're trying to solve.
 
Old 06-04-2010, 09:51 AM   #3
iSpaZZZ^
LQ Newbie
 
Registered: Mar 2010
Posts: 11

Original Poster
Rep: Reputation: 0
I'm looking around for a fix, and by the looks of it they are really not very elegant. I wish that repos where more flexible. I'll post the solution when/if I find one.

Thanks.
 
  


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
openssh sftp johnh10000 Linux - Software 1 05-28-2010 03:13 PM
openssh and sftp problem saifkhan123 Linux - Server 4 09-15-2009 01:52 AM
openssh sftp chrooting all users davidstvz Debian 1 05-30-2009 04:06 AM
chroot jail w/ openssh problems goillini Linux - Security 15 07-14-2008 04:49 PM
dont want sftp on OpenSSH e1000 Linux - Software 3 12-08-2004 12:47 PM


All times are GMT -5. The time now is 12:22 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