Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-02-2003, 04:17 PM   #1
LQ Newbie
Registered: Jul 2003
Location: MS
Distribution: RedHat
Posts: 4

Rep: Reputation: 0

I searched for this general topic on the forum but found nothing relevant, so here 'tis...

Related to Redhat 7.3, OpenSSH_3.1p1 and vs-FTP 2.6

I have setup my vs-FTP server to "jail" specific users to their home directory when they login, but for some reason when utilizing a SSH connection (SFTP on port 22), all of these settings seem to be overridden and fall back to the default vs-FTP behavior.

I realize the SFTP connection is more secure, but in SFTP mode a user can literally browse the entire system and download different files at will.

If I change the connection back to standard FTP on port 21 the user is confined again...

In addition to this problem, an SFTP connection does not perform any logging to the vsftpd.log while normal FTP connections do.

Is there a setting for vs-FTP using port 22 to deal with these issues or is it something related to SSH where vs-FTP is no longer the FTP server in control? Or should I not worry with it?

I feel compelled to use SSH connections whenever possible.

Thanks for any clues.
Old 07-02-2003, 04:47 PM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
SFTP is part of the open-ssh package. It does not utilize vsftp. You will probably have to jail your ssh users. Do a search on this site. There are a lot of threads about how to do this.
Old 07-02-2003, 04:59 PM   #3
LQ Newbie
Registered: Jul 2003
Location: MS
Distribution: RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
My ignorance shows...

It makes sense (now) that SFTP and vs-FTP have nothing to do with each other. As you indicate I need dual mechanisms to confine the logins depending on the FTP port in use.


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 03:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 12:53 PM
vsFTP toejam Linux - Security 6 05-15-2004 10:38 AM
vsftp, telnet, ssh, apache, samba chongluo Linux - Newbie 3 03-27-2004 09:59 PM
vsftp, yes again cawpin Linux - Newbie 2 12-14-2003 02:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:04 AM.

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