Cannot use FTP on EC2 instance
Hi all.
So I have 2 x AWS EC2 instances, both running WHM/cPanel, and both set up identically (or so I thought) following this guide:
On one of the instances I can access each account individually via FTP no problem at all. However on the other, I am having great difficulty. It has 3 accounts at present, connecting to one of them gives me "Login failed. Exhausted available authentication methods. Please contact your web hosting service provider for assistance.", connecting to the second account seems to work but I notice it has a .pem certificate attached in CyberDuck (which I don't want to have to do for each account), and then connecting to the third account which I have created today will connect but not list the directory and times out - "Operation timed out. The connection attempt was rejected. The server may be down, or your network may not be properly configured."
So I am not 100% how it should have been set up correctly or what I need to look at to rectify this, but would really appreciate if someone could assist and let me know what I need to look at within WHM in order to just be able to connect to accounts without any additional certificates etc.. as they're not used on instance 1.
Thanks.
-
Hi @cPRex - I use the main cPanel account details on all FTP connections. I have looked in pure-ftpd.conf at the passive ports and confirmed in my AWS security groups that these ports are open. Is there an easy way of comparing my 2 FTP configs to see if there are any differences? Is most of the config for FTP done in this pure-ftpd.conf file? 0 -
Further to previous, I have this morning compared pure-ftpd.conf on both servers, also all settings in Basic WHM Setup, Tweak settings, all FTP sections and I cannot see any differences at all between the 2 servers, yet 1 is absolutely fine connecting on all accounts and the other will not - any further ideas I could try? Thanks. 0 -
Since you have root access to both machines, could you submit a ticket to our team so we could compare things on our end? 0 -
Since you have root access to both machines, could you submit a ticket to our team so we could compare things on our end?
Thanks, have done, ticket 94418840 and granted access to both servers.0 -
Thanks for that - I'm following along with that ticket on my end now. 0 -
Thanks, all sorted now, I didn't have the same ports set on my non-working server so I copied TCP_IN and TCP_OUT from within configserver security and it's now working perfectly. 0 -
I'm glad to hear things are working well now! 0
Please sign in to leave a comment.
Comments
8 comments