LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-31-2010, 01:20 AM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
setup proftp for sftp only


Hi folks, (mod, sorry if i posted this in wrong forum)

I have tried, to set this up, but failed

what kind of ftp would you guys recomend, as i have been having slight problems over recent days, with unknowns logging onto my annon ftp server, delt with mind.

I am thinking about a proper login even for the annon account, fairly easy to setup.

opinions please.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-31-2010, 07:26 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 johnh10000 View Post
Hi folks, (mod, sorry if i posted this in wrong forum)

I have tried, to set this up, but failed

what kind of ftp would you guys recomend, as i have been having slight problems over recent days, with unknowns logging onto my annon ftp server, delt with mind.

I am thinking about a proper login even for the annon account, fairly easy to setup.

opinions please.
I wouldn't use FTP at all, and stick with SSH/SFTP. If you really need FTP, check out vsFTPD (Very Secure FTP). It's the most secure of the FTP servers, but it's still FTP.
 
Old 03-31-2010, 07:37 AM   #3
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by TB0ne View Post
I wouldn't use FTP at all, and stick with SSH/SFTP. If you really need FTP, check out vsFTPD (Very Secure FTP). It's the most secure of the FTP servers, but it's still FTP.
would vsftp do sftp out of the box? i guess just closedown 20-21

or (re-read) how do i setup sftp?

Last edited by johnh10000; 03-31-2010 at 07:53 AM.
 
Old 03-31-2010, 08:48 AM   #4
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
ok I agree, not to use an ftp server as such. I have found this:

http://blog.markvdb.be/2009/01/sftp-...in-9-easy.html

my only question is, that as I run openssh anyways, and myfriend awhile bcak when running vsftp, said he could login to my ftp, via filezilla, using sftp.

do I actually need to do anything apart from reinstall vsftp?

If your wondering why I swaped, I read somewhere, the proftp, it was easy to "share" a common upload directory. I use bind in fstab, so I don't care, now.
 
Old 03-31-2010, 10:24 AM   #5
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 johnh10000 View Post
would vsftp do sftp out of the box? i guess just closedown 20-21

or (re-read) how do i setup sftp?
SFTP is part of SSH. If you're running SSH, you've got SFTP already set up.
 
2 members found this post helpful.
Old 03-31-2010, 12:33 PM   #6
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by TB0ne View Post
SFTP is part of SSH. If you're running SSH, you've got SFTP already set up.
minor problem, removed proftp. 'cause, ssh was running on port 92 (2 boxes) so uninstalled it, reinstalled it. deled .ssh

connect fine with ssh

with file zilla i get
Code:
Status:	Connecting to tux.isa-geek.org...
Response:	fzSftp started
Command:	open "ftp@tux.isa-geek.org" 22
Command:	Pass: **************************
Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server
 
Old 03-31-2010, 12:36 PM   #7
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 johnh10000 View Post
minor problem, removed proftp. 'cause, ssh was running on port 92 (2 boxes) so uninstalled it, reinstalled it. deled .ssh

connect fine with ssh

with file zilla i get
Code:
Status:	Connecting to tux.isa-geek.org...
Response:	fzSftp started
Command:	open "ftp@tux.isa-geek.org" 22
Command:	Pass: **************************
Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server
Well, you say SSH is running on port 92, but it looks like FZ is trying to connect on the default of port 22 (the "Open" line).
 
Old 03-31-2010, 12:45 PM   #8
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by TB0ne View Post
Well, you say SSH is running on port 92, but it looks like FZ is trying to connect on the default of port 22 (the "Open" line).
sorry for the mis-understanding. thats why i uninstalled and reinstalled, so it would go back to port 22. i couldn't be a*** to chg the configs

where dose FZ store its keys? i used it b4, ssh style

Last edited by johnh10000; 03-31-2010 at 12:48 PM.
 
Old 03-31-2010, 12:53 PM   #9
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
nope thats not it, tried on an xp virtual box, same error

Last edited by johnh10000; 03-31-2010 at 03:21 PM.
 
Old 04-01-2010, 11:58 AM   #10
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
semi sorted it. well sftp refuses to let anyone in, prob firewall issue.

got rid of my hitchikers, turning off annon ftp.

now using vsftpd

it can wait until i get back off holiday. one week of doing nothing. i'll be board.
 
  


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
How to setup sftp server. ashok_kxj2009 Linux - Newbie 1 03-09-2010 04:57 AM
SFTP setup eliteii92g Linux - Security 0 12-27-2007 10:47 AM
Concepts/Security types/ Setup: OpenSSH/sshd/ssh/scp/sftp Caud Pong Linux - Security 5 09-23-2004 06:51 AM
SFTP setup plan9 Slackware 4 08-04-2004 10:51 AM
Proftp 1.2.9 setup help with users parasbshah Linux - Networking 0 06-01-2004 02:52 AM

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

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