Why can't I access to my ftp server with my local user account? The 2019 Stack Overflow Developer Survey Results Are Invsftpd - ftp user cannot create foldersAuthentication failure for FTP serverDirectory Contents Not Listed When Connecting To CentOS 7 VSFTPDHow to disable SFTP for a user, but keep FTP enabledI am not jailing my users well in VSFTPD (CentOS7)?Added a user with adduser, but can't login with that user through FTPUnable to transfer files (put) using ftp or filezilla from windows to ubuntu VMHome dir of ftp user in /var/wwwFTP: Jail user to Home folderAble to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04

Does HR tell a hiring manager about salary negotiations?

How do you keep chess fun when your opponent constantly beats you?

I am an eight letter word. What am I?

Getting crown tickets for Statue of Liberty

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Why doesn't UInt have a toDouble()?

Kerning for subscripts of sigma?

Mathematics of imaging the black hole

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

How to translate "being like"?

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

How to support a colleague who finds meetings extremely tiring?

Output the Arecibo Message

A word that means fill it to the required quantity

How much of the clove should I use when using big garlic heads?

writing variables above the numbers in tikz picture

Falsification in Math vs Science

Why are there uneven bright areas in this photo of black hole?

If a sorcerer casts the Banishment spell on a PC while in Avernus, does the PC return to their home plane?

Relationship between Gromov-Witten and Taubes' Gromov invariant

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Ubuntu Server install with full GUI

Why not take a picture of a closer black hole?

Is an up-to-date browser secure on an out-of-date OS?



Why can't I access to my ftp server with my local user account?



The 2019 Stack Overflow Developer Survey Results Are Invsftpd - ftp user cannot create foldersAuthentication failure for FTP serverDirectory Contents Not Listed When Connecting To CentOS 7 VSFTPDHow to disable SFTP for a user, but keep FTP enabledI am not jailing my users well in VSFTPD (CentOS7)?Added a user with adduser, but can't login with that user through FTPUnable to transfer files (put) using ftp or filezilla from windows to ubuntu VMHome dir of ftp user in /var/wwwFTP: Jail user to Home folderAble to Connect to vsftpd server using Windows 7, but getting error using Ubuntu 14.04



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















First of all I'm using Centos 6 server, putty and wordpress.org
I followed the instructions from this link to set up vsftpd and ftp in centos server.



For the vsftpd.conf file, these were the changes I made:



anonymous_enable=NO
local_enable=YES
chroot_local_user=YES


All of them are uncommented. I then restarted the vsftpd service.



For iptables I enabled input and output for port 21.



After entering the user account name and password for ftp://domain.com, it seems like the server is not recognizing my username and password. They are the same credentials I have been using to log in to CentOS server.



Then I found something on Google about getsebool. It mentioned that ftp_home_directory is turned off and I needed to turn it on with setsebool -P



OK, now I am able to connect using ftp in putty, but not in the web browser or filezilla.










share|improve this question
















bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    First of all I'm using Centos 6 server, putty and wordpress.org
    I followed the instructions from this link to set up vsftpd and ftp in centos server.



    For the vsftpd.conf file, these were the changes I made:



    anonymous_enable=NO
    local_enable=YES
    chroot_local_user=YES


    All of them are uncommented. I then restarted the vsftpd service.



    For iptables I enabled input and output for port 21.



    After entering the user account name and password for ftp://domain.com, it seems like the server is not recognizing my username and password. They are the same credentials I have been using to log in to CentOS server.



    Then I found something on Google about getsebool. It mentioned that ftp_home_directory is turned off and I needed to turn it on with setsebool -P



    OK, now I am able to connect using ftp in putty, but not in the web browser or filezilla.










    share|improve this question
















    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      First of all I'm using Centos 6 server, putty and wordpress.org
      I followed the instructions from this link to set up vsftpd and ftp in centos server.



      For the vsftpd.conf file, these were the changes I made:



      anonymous_enable=NO
      local_enable=YES
      chroot_local_user=YES


      All of them are uncommented. I then restarted the vsftpd service.



      For iptables I enabled input and output for port 21.



      After entering the user account name and password for ftp://domain.com, it seems like the server is not recognizing my username and password. They are the same credentials I have been using to log in to CentOS server.



      Then I found something on Google about getsebool. It mentioned that ftp_home_directory is turned off and I needed to turn it on with setsebool -P



      OK, now I am able to connect using ftp in putty, but not in the web browser or filezilla.










      share|improve this question
















      First of all I'm using Centos 6 server, putty and wordpress.org
      I followed the instructions from this link to set up vsftpd and ftp in centos server.



      For the vsftpd.conf file, these were the changes I made:



      anonymous_enable=NO
      local_enable=YES
      chroot_local_user=YES


      All of them are uncommented. I then restarted the vsftpd service.



      For iptables I enabled input and output for port 21.



      After entering the user account name and password for ftp://domain.com, it seems like the server is not recognizing my username and password. They are the same credentials I have been using to log in to CentOS server.



      Then I found something on Google about getsebool. It mentioned that ftp_home_directory is turned off and I needed to turn it on with setsebool -P



      OK, now I am able to connect using ftp in putty, but not in the web browser or filezilla.







      ftp vsftpd centos filezilla






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 10 '16 at 8:56









      Mongrel

      2,12331849




      2,12331849










      asked Mar 26 '14 at 20:44









      VolticVoltic

      3817




      3817





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          4 Answers
          4






          active

          oldest

          votes


















          0














          1. Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port.

          2. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more....

          3. The browser needs authentication information since anonymous is disabled. This means the URL needs the username and password embedded in it. Sadly SE won't let me post an example directly. Basically it is name plus @ plus pass followed by colon and the rest of the URL as normal.





          share|improve this answer






























            0














            There could be numerous amount of issues why you can't connect with the browser or filezilla but you need to eliminate issues in order to get it resolved.



            I know that on filezilla, if you have vsftp on AWS you have to set the FTP transfer mode. Also with browsers, make sure you type in ftp://username@domain-addr it should prompt you with a password panel.



            Maybe its your firewall and its bypassing putty ftp connection. Try to look at your vsftpd logs to see what else you can find.






            share|improve this answer






























              0














              You could try this command



              sudo adduser -d /var/www/html -m myuser
              sudo passwd myser





              share|improve this answer
































                0














                You likely need to allow tcp port 20 as well. Also you need to make sure you are using active mode. If the ftp connection tries to move to passive mode it will move to a high port and you don't have them open.



                In filezilla you can modify the transfer mode by going to Site Manager->Create/edit site->Transfer Settings->Transfer mode you can force it to use active mode.






                share|improve this answer























                  Your Answer








                  StackExchange.ready(function()
                  var channelOptions =
                  tags: "".split(" "),
                  id: "106"
                  ;
                  initTagRenderer("".split(" "), "".split(" "), channelOptions);

                  StackExchange.using("externalEditor", function()
                  // Have to fire editor after snippets, if snippets enabled
                  if (StackExchange.settings.snippets.snippetsEnabled)
                  StackExchange.using("snippets", function()
                  createEditor();
                  );

                  else
                  createEditor();

                  );

                  function createEditor()
                  StackExchange.prepareEditor(
                  heartbeatType: 'answer',
                  autoActivateHeartbeat: false,
                  convertImagesToLinks: false,
                  noModals: true,
                  showLowRepImageUploadWarning: true,
                  reputationToPostImages: null,
                  bindNavPrevention: true,
                  postfix: "",
                  imageUploader:
                  brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                  contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                  allowUrls: true
                  ,
                  onDemand: true,
                  discardSelector: ".discard-answer"
                  ,immediatelyShowMarkdownHelp:true
                  );



                  );













                  draft saved

                  draft discarded


















                  StackExchange.ready(
                  function ()
                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f121659%2fwhy-cant-i-access-to-my-ftp-server-with-my-local-user-account%23new-answer', 'question_page');

                  );

                  Post as a guest















                  Required, but never shown

























                  4 Answers
                  4






                  active

                  oldest

                  votes








                  4 Answers
                  4






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  0














                  1. Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port.

                  2. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more....

                  3. The browser needs authentication information since anonymous is disabled. This means the URL needs the username and password embedded in it. Sadly SE won't let me post an example directly. Basically it is name plus @ plus pass followed by colon and the rest of the URL as normal.





                  share|improve this answer



























                    0














                    1. Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port.

                    2. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more....

                    3. The browser needs authentication information since anonymous is disabled. This means the URL needs the username and password embedded in it. Sadly SE won't let me post an example directly. Basically it is name plus @ plus pass followed by colon and the rest of the URL as normal.





                    share|improve this answer

























                      0












                      0








                      0







                      1. Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port.

                      2. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more....

                      3. The browser needs authentication information since anonymous is disabled. This means the URL needs the username and password embedded in it. Sadly SE won't let me post an example directly. Basically it is name plus @ plus pass followed by colon and the rest of the URL as normal.





                      share|improve this answer













                      1. Check your firewall logs. FTP actually uses ports other than 21 once the connection is established. 21 is only the control port.

                      2. Try disabling selinux to see if the problem goes away. If it does you get to read up about configuring selinux more....

                      3. The browser needs authentication information since anonymous is disabled. This means the URL needs the username and password embedded in it. Sadly SE won't let me post an example directly. Basically it is name plus @ plus pass followed by colon and the rest of the URL as normal.






                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Mar 26 '14 at 22:30









                      Sean PerrySean Perry

                      29116




                      29116























                          0














                          There could be numerous amount of issues why you can't connect with the browser or filezilla but you need to eliminate issues in order to get it resolved.



                          I know that on filezilla, if you have vsftp on AWS you have to set the FTP transfer mode. Also with browsers, make sure you type in ftp://username@domain-addr it should prompt you with a password panel.



                          Maybe its your firewall and its bypassing putty ftp connection. Try to look at your vsftpd logs to see what else you can find.






                          share|improve this answer



























                            0














                            There could be numerous amount of issues why you can't connect with the browser or filezilla but you need to eliminate issues in order to get it resolved.



                            I know that on filezilla, if you have vsftp on AWS you have to set the FTP transfer mode. Also with browsers, make sure you type in ftp://username@domain-addr it should prompt you with a password panel.



                            Maybe its your firewall and its bypassing putty ftp connection. Try to look at your vsftpd logs to see what else you can find.






                            share|improve this answer

























                              0












                              0








                              0







                              There could be numerous amount of issues why you can't connect with the browser or filezilla but you need to eliminate issues in order to get it resolved.



                              I know that on filezilla, if you have vsftp on AWS you have to set the FTP transfer mode. Also with browsers, make sure you type in ftp://username@domain-addr it should prompt you with a password panel.



                              Maybe its your firewall and its bypassing putty ftp connection. Try to look at your vsftpd logs to see what else you can find.






                              share|improve this answer













                              There could be numerous amount of issues why you can't connect with the browser or filezilla but you need to eliminate issues in order to get it resolved.



                              I know that on filezilla, if you have vsftp on AWS you have to set the FTP transfer mode. Also with browsers, make sure you type in ftp://username@domain-addr it should prompt you with a password panel.



                              Maybe its your firewall and its bypassing putty ftp connection. Try to look at your vsftpd logs to see what else you can find.







                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Sep 20 '14 at 3:05









                              unixmiahunixmiah

                              326110




                              326110





















                                  0














                                  You could try this command



                                  sudo adduser -d /var/www/html -m myuser
                                  sudo passwd myser





                                  share|improve this answer





























                                    0














                                    You could try this command



                                    sudo adduser -d /var/www/html -m myuser
                                    sudo passwd myser





                                    share|improve this answer



























                                      0












                                      0








                                      0







                                      You could try this command



                                      sudo adduser -d /var/www/html -m myuser
                                      sudo passwd myser





                                      share|improve this answer















                                      You could try this command



                                      sudo adduser -d /var/www/html -m myuser
                                      sudo passwd myser






                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Oct 13 '16 at 4:55









                                      Archemar

                                      20.5k93973




                                      20.5k93973










                                      answered Oct 13 '16 at 3:56









                                      Kent AguilarKent Aguilar

                                      1012




                                      1012





















                                          0














                                          You likely need to allow tcp port 20 as well. Also you need to make sure you are using active mode. If the ftp connection tries to move to passive mode it will move to a high port and you don't have them open.



                                          In filezilla you can modify the transfer mode by going to Site Manager->Create/edit site->Transfer Settings->Transfer mode you can force it to use active mode.






                                          share|improve this answer



























                                            0














                                            You likely need to allow tcp port 20 as well. Also you need to make sure you are using active mode. If the ftp connection tries to move to passive mode it will move to a high port and you don't have them open.



                                            In filezilla you can modify the transfer mode by going to Site Manager->Create/edit site->Transfer Settings->Transfer mode you can force it to use active mode.






                                            share|improve this answer

























                                              0












                                              0








                                              0







                                              You likely need to allow tcp port 20 as well. Also you need to make sure you are using active mode. If the ftp connection tries to move to passive mode it will move to a high port and you don't have them open.



                                              In filezilla you can modify the transfer mode by going to Site Manager->Create/edit site->Transfer Settings->Transfer mode you can force it to use active mode.






                                              share|improve this answer













                                              You likely need to allow tcp port 20 as well. Also you need to make sure you are using active mode. If the ftp connection tries to move to passive mode it will move to a high port and you don't have them open.



                                              In filezilla you can modify the transfer mode by going to Site Manager->Create/edit site->Transfer Settings->Transfer mode you can force it to use active mode.







                                              share|improve this answer












                                              share|improve this answer



                                              share|improve this answer










                                              answered Jul 1 '17 at 1:50









                                              Jesse_bJesse_b

                                              14.4k33574




                                              14.4k33574



























                                                  draft saved

                                                  draft discarded
















































                                                  Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid


                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.

                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function ()
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f121659%2fwhy-cant-i-access-to-my-ftp-server-with-my-local-user-account%23new-answer', 'question_page');

                                                  );

                                                  Post as a guest















                                                  Required, but never shown





















































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown

































                                                  Required, but never shown














                                                  Required, but never shown












                                                  Required, but never shown







                                                  Required, but never shown







                                                  -centos, filezilla, ftp, vsftpd

                                                  Popular posts from this blog

                                                  Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

                                                  Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?

                                                  What is this called? Old film camera viewer?What makes a good film camera?What to do with an old film camera?What should one look for when buying a used film camera?What is the value and age of this pre-1967 Ricoh 35 mm camera?DSLR recommendation, question about old Canon 35mm film Camera & lensesCan anyone identify the silver rangefinder-style camera in this advertisement?What kind of a Polaroid 600-camera is this?Will an old film camera still work even when not used in a very long time?What is this camera / Can I develop the film?How to fit an action camera into antique (bellows) housing?What to check when buying used and old film bodies?