LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-09-2009, 10:37 AM   #1
sang_froid
Member
 
Registered: Oct 2006
Posts: 179

Rep: Reputation: 15
sftp server


Hi,

I would like to replace our ftp server, which web developers use to upload web contents to the server, by some sftp server.

I don't want the users to do ssh.

Which software do you recommend the best for that ?
 
Old 04-09-2009, 11:10 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sang_froid View Post
Hi,

I would like to replace our ftp server, which web developers use to upload web contents to the server, by some sftp server.

I don't want the users to do ssh.

Which software do you recommend the best for that ?
SFTP runs over SSH, that's what makes it secure. There are more secure 'regular' FTP servers, like vsFTPD, but SFTP needs SSH.

Not sure what you mean by "I don't want the users to do ssh"...rather than typing in FTP, they just type in sftp...use the client the same way, but connect over a different protocol. There are even GUI based SFTP clients...
 
Old 04-09-2009, 11:48 AM   #3
sang_froid
Member
 
Registered: Oct 2006
Posts: 179

Original Poster
Rep: Reputation: 15
ok..let me make clear..

When I install openssh, sftp also comes along with it. With such installation, users can do ssh and also land to command prompt.

What i really need is users to be able to do only sftp by some ftp clients and not get the shell access..


Quote:
Originally Posted by TB0ne View Post
SFTP runs over SSH, that's what makes it secure. There are more secure 'regular' FTP servers, like vsFTPD, but SFTP needs SSH.

Not sure what you mean by "I don't want the users to do ssh"...rather than typing in FTP, they just type in sftp...use the client the same way, but connect over a different protocol. There are even GUI based SFTP clients...
 
Old 04-09-2009, 01:26 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sang_froid View Post
ok..let me make clear..

When I install openssh, sftp also comes along with it. With such installation, users can do ssh and also land to command prompt.

What i really need is users to be able to do only sftp by some ftp clients and not get the shell access..
Ok...so do a "chmod 700" and "chown root:root" on it. That way, only root can do an SSH, but everyone else can use sftp.
 
Old 04-09-2009, 05:37 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by sang_froid
What i really need is users to be able to do only sftp by some ftp clients and not get the shell access..
Also look into the scponly shell.
 
  


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
cannot login into SFTP server using Net::SFTP cccc Programming 1 10-31-2007 06:23 AM
Gui for SFTP (server) marigb Linux - Networking 1 12-10-2005 03:08 PM
sftp-server sopiaz57 Linux - Networking 10 01-05-2004 10:34 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM
Please help with sftp-server Jason_25 Linux - Networking 10 03-07-2003 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:16 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
Open Source Consulting | Domain Registration