LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-02-2003, 03:17 PM   #1
maxnix
LQ Newbie
 
Registered: Jul 2003
Location: MS
Distribution: RedHat
Posts: 4

Rep: Reputation: 0
VSFTP and SSH


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, 03:47 PM   #2
Crashed_Again
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, 03:59 PM   #3
maxnix
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.
 
  


Reply



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 02:50 AM
Mac OS X ssh client / linux sshd : ssh hangs/disconnects Apollo77 Linux - Networking 1 05-24-2006 11:53 AM
vsFTP toejam Linux - Security 6 05-15-2004 09:38 AM
vsftp, telnet, ssh, apache, samba chongluo Linux - Newbie 3 03-27-2004 08:59 PM
vsftp, yes again cawpin Linux - Newbie 2 12-14-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:55 PM.

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
Open Source Consulting | Domain Registration