How to install an FTP Server on Ubuntu 22.04 with VSFTPD

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 62

  • @publicationsdesordonnees
    @publicationsdesordonnees Рік тому +3

    perfect video, short, complete, totally efficient ! Bravo !

    • @markdevelop7770
      @markdevelop7770 Рік тому

      I fully agree. Thanks for this great video. Nice voice, good explained and it works. I spent a lot of time to get running my vsftpd in SSL-Mode until I found this video. @ZacsTech: Feel you as a hero 🙂

  • @F6347_VR
    @F6347_VR Рік тому +17

    You forgot to put this line in the descriptions, btw, Thanks you a lot!
    sudo ufw allow from any to any port 20,21,10000:10100 proto tcp

  • @knuppelkastenlp8931
    @knuppelkastenlp8931 9 місяців тому +1

    Perfect. This Video helped me a lot! Thank you

  • @harveybc
    @harveybc 6 місяців тому

    Excellent video. If I could have typed better it would have went very smooth. All problems encountered were my typo's. But to quote a certain Dr., "It is alive!!"

  • @eliezerhilario
    @eliezerhilario 10 місяців тому

    Excellent. This video helped me a lot. Thank you so much

  • @AbdoulTABA
    @AbdoulTABA 9 місяців тому +4

    Hello, GREAT VIDEO. But I had to change change the passive ports from (pasv_min_port : 10000 ; pasv_max_port : 10100) to (pasv_min_port : 40000 ; pasv_max_port : 40100).

  • @iamtheyikes
    @iamtheyikes 7 місяців тому

    Brilliant tutorial. Please keep them coming!!!

  • @j.j.s.g.3259
    @j.j.s.g.3259 2 роки тому +2

    The timing for this video was perfect, because we are using vsftpd in class, and I didn't understood half of it, now with your explanations and your calm music, I think it makes more sense to me now.
    And other thing, why do you use the key and the certificate both in the same file? And have you or can you upload about how to make virtual users in vsftpd? I will appreciate it 😅😊

  • @imcslol1
    @imcslol1 Рік тому +1

    perfect video thank you really much!

  • @alieslami2309
    @alieslami2309 Рік тому

    Tank you so much. I learnt very much. 😘

  • @王大明-n7t
    @王大明-n7t 8 місяців тому

    Extremely helpful, thank you!

  • @vladislavkaras491
    @vladislavkaras491 Рік тому

    Thanks for the demonstration!

  • @dislodged7270
    @dislodged7270 Рік тому

    Oh my god it worked first try. Thank you

  • @LePygargue
    @LePygargue Рік тому

    Solid base, had to adapt a bit for my usecase

  • @MaxDolotboy
    @MaxDolotboy Рік тому +4

    So this create a FTP server with a private dir for every user, but if I simply want to access something else on the Ubuntu server with a user that has admin/sudo power, for example to upload a website into apache2 folder's, can I with this ? Or it is simply a FTP server that is used for storage distribution
    EDIT: I added my default user in the userlist (Didn't create a new one) and I created a FTP folder him because otherwise I was getting this error
    Error: GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.
    Error: Could not read from socket: ECONNABORTED - Connection aborted
    Error: Could not connect to server
    But this user can't go anywhere else than his ftp folder, it is an admin, he have sudo perm and all. I simply want to be able to access my website files located in the apache's folders what should I do ?
    EDIT2: I used mount
    mkdir /home/user2/ftp/www
    chown user2:user2 /home/user2/ftp/www
    mount --bind /var/www/html/ /home/user2/ftp/www

    • @w.r3679
      @w.r3679 Рік тому +2

      Thank you very much for your help. With your tips I managed to do the same thing you wanted to do. I wouldn't have made it without your comment.

    • @MajikCatSecurity
      @MajikCatSecurity 3 місяці тому

      You should use SSH

  • @ridaoutaleb
    @ridaoutaleb 4 місяці тому

    Helpful, thank you so much

  • @alifurkantekdemir4262
    @alifurkantekdemir4262 10 місяців тому

    Firstly thanks for video ZachsTech. I watched this video and I followed exactly what was done. But that have some errors let me explain. First error is "500 OOPS: cannot change directory" I get this in FileZilla and that's solution is "sudo chmod 755 /home/phil/" after that I get secondly error. It's a "553 Could not create file" error. This problem is if you try put any file to ftp server I get this error. And that solution is "sudo chown -R phil /home/phil/" and I open the "vsftpd.conf" file and added this line "allow_writeable_chroot=YES" in the end of the line. Then restart the vsftpd service and its running without any errors.

  • @agungwahyu7945
    @agungwahyu7945 Рік тому +2

    how to check demo file from windows?

  • @DontLetsPlay
    @DontLetsPlay Рік тому +1

    how can i grant full acces to all folders? Like an admin?

  • @KevinJones-ty5hg
    @KevinJones-ty5hg Рік тому

    Thank's! I love you!

  • @Hunboti58
    @Hunboti58 11 місяців тому

    Hi! I want to connect my FTP server while I'm in ooutside my home network. I tried the outside IP address, but it doesn't work. Please let me know if there is something I can do!
    Anyways the video is perfect and helped me to reach my files in my home network.

  • @canesfanjake15
    @canesfanjake15 2 місяці тому

    thank you for your services

  • @dmtuan
    @dmtuan 8 місяців тому

    Very helpful. Thanks

  • @abdullahshamroz7992
    @abdullahshamroz7992 9 місяців тому

    I am using linux, how to add files to the upload folder so I can access them from my iphone? simply copy paste is not available, you cant paste there is no option.

  • @ethangender
    @ethangender Рік тому

    SO FAR i was able to create ftp server and connect however there is a bug with the folder because the client from FileZilla ins unable to list the folders

  • @Lennert1712
    @Lennert1712 8 місяців тому

    Hello, i did everything like i am supposed to but when i want to connect it tells me there is no route to host. Anyone know how to fix this issue?

  • @pradeeptiwary2131
    @pradeeptiwary2131 Рік тому +1

    It doesnt work after ssl certificate enable

  • @okthxbye_
    @okthxbye_ Рік тому

    helped alot thx mate

  • @salzaarooj8015
    @salzaarooj8015 2 роки тому +5

    I follow you every step till filezilla but when i click on quick connect .it not works.i use hotspots for internet conection there is a problem in that?

    • @cenr9372
      @cenr9372 Рік тому

      same issue, just set up filezilla on a second vurtial machine on a local network, bit easire to use... to install filezilla just do "sudo apt install filezilla". im using ubuntu and debian and it works

    • @gr0wnup5
      @gr0wnup5 8 місяців тому

      Yes! Both your devices MUST be on same WiFi network
      And should be reachable inside that network

  • @frrndr75
    @frrndr75 Рік тому +1

    hello, i have a question? How do I change the password (too weak) of the user I created?

    • @zacstech
      @zacstech  Рік тому +1

      Check this link itslinuxfoss.com/change-password-ubuntu-22-04/

  • @ss-vv1ix
    @ss-vv1ix Рік тому

    mine can't connect in fillezila, it says "connection timeout"

  • @EliteTimpa
    @EliteTimpa 3 місяці тому

    i get 550 permission denied when i want to upload

  • @Ragedrp
    @Ragedrp Рік тому

    it is not connecting with public IP the port is open

  • @simonsayer8036
    @simonsayer8036 Рік тому

    Hey, great video, quick question on resiliency, would you deploy this on a cluster or would you run in active passive mode with 2nd VM in paired region (Azure)

  • @gktirkha
    @gktirkha Рік тому

    9:27
    i belive the keyout extenssion is .key
    replaced vsftpd.pem with vsftpd.key
    sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.key -out /etc/ssl/private/vsftpd.pem

    • @Kylian19
      @Kylian19 3 місяці тому

      Worked for me with .pem

  • @ashwinchavan6391
    @ashwinchavan6391 Рік тому

    my ftp sever is getting failed

  • @wisetone
    @wisetone 9 місяців тому

    sudo: nano: command not found

  • @salluc1712
    @salluc1712 Рік тому

    thank you so much

  • @netmaster777
    @netmaster777 6 місяців тому

    thanks, great!

  • @user-jy2wk5zw9s
    @user-jy2wk5zw9s 11 місяців тому

    Thanks mate

  • @MajikCatSecurity
    @MajikCatSecurity 3 місяці тому

    Nobody instructs the best setup for a public FTP server...with anonymous connections.

  • @aliimrannagori8069
    @aliimrannagori8069 2 роки тому +1

    Good, but some more explanation can be added.

  • @rljosch
    @rljosch 11 місяців тому

    thanks

  • @ahamster3000
    @ahamster3000 27 днів тому

    too slow !!

  • @AritzPeñaOrtiz
    @AritzPeñaOrtiz Місяць тому

    What a scam dude.

    • @zacstech
      @zacstech  Місяць тому

      Howz is tht a scam, go back to windows

    • @AritzPeñaOrtiz
      @AritzPeñaOrtiz Місяць тому

      @@zacstech This is Ubuntu bro.

  • @Luka_c123
    @Luka_c123 Рік тому

    dosent work xd

    • @soonislive
      @soonislive 10 місяців тому

      Working😅 you made some mistake

    • @agentnightmare8629
      @agentnightmare8629 8 місяців тому +1

      Skill issue

    • @Luka_c123
      @Luka_c123 8 місяців тому

      @@agentnightmare8629 trueeeeeee

    • @soonislive
      @soonislive 8 місяців тому

      @@agentnightmare8629 who!?

  • @Lastlightx94
    @Lastlightx94 2 роки тому +1

    thx

  • @samsonjoshva6901
    @samsonjoshva6901 2 місяці тому

    The best 🫡

  • @milivojevujadinovic1567
    @milivojevujadinovic1567 10 місяців тому

    Thank you so much