Koozali.org: home of the SME Server

Which sftp server on sme 7.4

Offline loejf

  • ****
  • 74
  • +0/-0
Which sftp server on sme 7.4
« on: May 28, 2009, 08:36:36 PM »
Hi.
I am trying to make chroot for secureftp on sme 7.4, and have tried the remoteuseraccess, but i unfortunately doesn´t work for sftp.
So now I am trying to do it using vsftpd. But I can´t get vsftpd to work, it seems that there is another sftp daemon running.
How do I disable this running server, and get vsftpd up running ??
Best regards
Loejf.
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Which sftp server on sme 7.4
« Reply #1 on: May 28, 2009, 10:29:56 PM »
Moving to SME 7.x Contibs as it is more appropriate there.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Which sftp server on sme 7.4
« Reply #2 on: May 29, 2009, 09:56:53 AM »
Hi.
I am trying to make chroot for secureftp on sme 7.4, and have tried the remoteuseraccess, but i unfortunately doesn´t work for sftp.
So now I am trying to do it using vsftpd. But I can´t get vsftpd to work, it seems that there is another sftp daemon running.
How do I disable this running server, and get vsftpd up running ??
Best regards
Loejf.

Hi. SFTP is really diferent from FTP(S), it's a new protocol, often using SSH as transport. Chrooting Sftp is really not an easy task as it requires creating jails, copying a lot of libs (and keep them up to date) etc...
A future version of OpenSSH (v 4.8 I think) will include an easy chroot mecanism, but it won't be available for SME 7, and I don't think it'll be for SME 8 either.

Now, you're talking about doing the same with vsftp. Vsftp is an FTP server, not SFTP. And of course, it'll hard to integrate it on SME Server because there's allready an FTP server, which is proftpd.
C'est la fin du monde !!! :lol:

Offline loejf

  • ****
  • 74
  • +0/-0
Re: Which sftp server on sme 7.4
« Reply #3 on: May 29, 2009, 05:32:41 PM »
Hi.
Ok, thank you.
But if proftpd is the ftp-server, which server is then handling the secure ftp, is it also proftpd?
Loejf.
...

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Which sftp server on sme 7.4
« Reply #4 on: May 29, 2009, 05:35:59 PM »
sftp is handled by OpenSSH (in fact, by a plugin of OpenSSH)
C'est la fin du monde !!! :lol: