Results 1 to 4 of 4

Thread: vsftpd sftp

  1. #1
    Join Date
    Apr 2007
    Beans
    468
    Distro
    Ubuntu 10.04 Lucid Lynx

    vsftpd sftp

    I use vsftpd in 2 of my production ftp servers and then in all our dev ones as well. I have it setup with virtual users each chroot'd into their own folder with our corp account chroot'd up one level to be able to access all their folders.
    I want to enable sftp logins now. I don't want to force every user to have to use sftp. Can I somehow enable this on a per user basis (ie some ARE forced)? Or can I only make it optional whereas they can use sftp or ftp to their chosing.

    I can't force them to use sftp only right now or that would cut too many off.

  2. #2
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: vsftpd sftp

    Do you mean sftp (SSH) or do you mean ftps (FTP over SSL)? You can allow FTP connections with or without SSL (encryption optional), but I don't think you can require encryption on a per-user basis. You wouldn't know what user is connecting until the encryption was already negotiated.

  3. #3
    Join Date
    Apr 2007
    Beans
    468
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: vsftpd sftp

    yes i meant ftp over ssl. good point about the per-user....

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    FTPS means FTP over SSL

    Quote Originally Posted by inphektion View Post
    yes i meant ftp over ssl. .
    FTPS means FTP over SSL.

    SFTP is something different and IMHO more appropriate.

    Why not leave the FTP as it is. Then for those that need SFTP (as opposed to FTPS) you can set up OpenSSH server (which you have already presumably) to force a group of users into the sftp-subsystem. The keyword for the sshd configuration would be 'ForceCommand'

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •