#1  
Old 17th March 2009, 13:40
peterspoon peterspoon is offline
Junior Member
 
Join Date: Jul 2007
Location: Blagoevgrad, Bulgaria
Posts: 12
Thanks: 36
Thanked 1 Time in 1 Post
Default ISPConfig3 - SFTP

Hi,

I run ISPC3 on Debian Lenny server. Is there an easy way to get SFTP working on such configuration without using patched ssh server?
I would like to use secure FTP connection for existing FTP users.

EDIT:
I forgot about "shell user functionality" in ISPC3, which would probably do the job...

EDIT2:
Is there a way to enable sftp without creating a shell-user with jailkit? All this creates mess in the folders. I don't need this bunch of extra folders for shell-user, just secure ftp connection.
By the way, tabs on the shell-user form somehow doesn't work - going to Options tab, and then going back and saving a record result by saving empty values, and user name is being changed with prefix "default", not client name...

Last edited by peterspoon; 17th March 2009 at 15:15.
Reply With Quote
Sponsored Links
  #2  
Old 17th March 2009, 16:00
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

As you are mentioning ssh, sftp and ftp ind the same context, you need to clarify what you want.
You have either sftp which is a subsystem of sshd like scp as well and such it is "ssh" based.
ftps instead is secure ftp, e.g. ftp with ssl/tls.

see e.g. http://blogs.msdn.com/technical_outb...-and-sftp.aspx for the differences

For configuring pureftp with TLS see: http://www.pureftpd.org/project/pure-ftpd/doc -> TLS encryption

Last edited by Ben; 17th March 2009 at 16:08.
Reply With Quote
The Following User Says Thank You to Ben For This Useful Post:
peterspoon (18th March 2009)
  #3  
Old 18th March 2009, 13:32
peterspoon peterspoon is offline
Junior Member
 
Join Date: Jul 2007
Location: Blagoevgrad, Bulgaria
Posts: 12
Thanks: 36
Thanked 1 Time in 1 Post
Default

Thank you Ben,

I just wanted to enable a secure FTP connection, no matter which method would be used...
So it seems that setting up pureftpd with TLS is quite simple.

If anyone interested:
First I created a self-signed certificate in /etc/ssl/private

Code:
openssl req -x509 -nodes -newkey rsa:1024 -keyout \
  /etc/ssl/private/pure-ftpd.pem \
  -out /etc/ssl/private/pure-ftpd.pem
Code:
chmod 600 /etc/ssl/private/*.pem


then created a config file in /etc/pure-ftpd/conf/
named "TLS" with a value: 1, to enable tls at the boot.
Reply With Quote
The Following User Says Thank You to peterspoon For This Useful Post:
falko (18th March 2009)
  #4  
Old 1st November 2009, 11:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,260 Times in 4,124 Posts
 
Default

Duplicate post:

http://www.howtoforge.com/forums/sho...t=30405&page=3

Please do not post the same thing to more then one thread!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about ISPConfig3 vs. ISPConfig2 atjensen11 General 1 14th March 2009 23:59
How to setup SFTP accounts via SSH? webwizzy Server Operation 3 4th March 2009 13:58
ispconfig3: recommendations? ignasigarcia Installation/Configuration 2 25th February 2009 14:45
FTP and SFTP using CENTOS 5.0 mofu_45 Installation/Configuration 2 28th July 2008 17:35
sftp acess for Web users anuragj Installation/Configuration 2 6th February 2006 23:41


All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.