LinuxQuestions.org
Review your favorite Linux distribution.
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 07-14-2004, 02:41 PM   #1
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Dumping FTP in favor of SCP or SFTP


I've been running ProFTPd for a while now, and I like it a lot... but of course I don't like the cleartext passwords.

I wanted to try SCP or SFTP, but I need a client that supports it. I looked at WinSCP which is excellent, but I had major problems getting it chrooted.

I also tried wrapping ProFTPd using TLS, but that was a pain too. Can anyone recommend a good howto for setting that up??? Any other alternatives I might consider??
 
Old 07-14-2004, 03:00 PM   #2
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
You could always transfer files using SSH.

There's additional configuration needed and everything is encrypted. The only thing you need is a ssh file transfer client.
 
Old 07-14-2004, 03:05 PM   #3
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
Ok, but what about chrooting people who login? I've never tried setting that up so I'm not sure how complicated that is. I've got a slew of users who will be using this, and I'm a bit wary about letting Joe-user login that way.

All I want to do is let people transfer files in the same manner they are using for FTP. These users are not really technical people, so turning them loose on SSH via command line isn't a good idea, methinks.
 
Old 07-14-2004, 03:08 PM   #4
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
No you don't understand.

The way i'm describing works exactly like an ftp server, only it's over ssh. You have a window with local files and a window with remote files, etc.

I'm not sure wether or not users are chrooted in their homedir, but I know they won't have a hard time transfering files.
 
Old 07-14-2004, 03:19 PM   #5
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
Your suggestion sounds great. A few screenshots perhaps? Maybe a link to somethign I can look at?? You described a couple of windows showing local and remote files... would this be a software package I can download and review? Or are you simply saying (very blue sky) that I should look for a package that would do what you're suggesting?
 
Old 07-14-2004, 03:22 PM   #6
netmask
Member
 
Registered: Jul 2004
Location: Sherbrooke, Quebec, Canada, North America, World, Milky Way
Distribution: Gentoo
Posts: 103

Rep: Reputation: 16
The client I was describing is actually a windows client I use when I transfer files to my slack server.

If you want to see it in "action", look at http://www.ssh.com/support/documenta...ransfer-3.html


(There are a lot of clients that support sFTP other than that one)

Last edited by netmask; 07-14-2004 at 03:30 PM.
 
Old 07-14-2004, 03:31 PM   #7
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Original Poster
Rep: Reputation: 31
Looks good! This is pretty much what I'm looking for. But of course, I still have the same problem of keeping my users chrooted to their home directories. I'll begin looking for info about this, unless somebody has a quick URL handy?
 
Old 07-14-2004, 10:25 PM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You could use scponly or rssh to chroot a user to their home directory.
 
  


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
SCP/SFTP problem tpe Linux - Security 3 03-12-2005 06:58 PM
SSH - where are scp and sftp satimis Linux - Networking 2 11-15-2003 10:27 AM
Help with SSH2 sftp/scp sessions on wu-ftp using guest accounts ryoung Linux - Networking 1 10-22-2003 04:26 AM
scp vs. sftp . . . zthomasz Linux - Security 2 07-08-2003 08:26 AM
ssh working, but not sftp scp hardigunawan Linux - Networking 2 05-02-2003 02:04 AM

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

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