AWS - Setup FTP User to Upload Files

I have set up an EC2 server on AWS.  All I want to use this server for is uploading files as a backup.

So I want to create one external FTP user.  Here's the steps I've taken so far.  

1. Create a Security Group and restrict IP Ports to 1) Local Machine (for testing) and 2) Remote MT Server
2. Create an EC2 Instance  (Ubuntu Server 14.04 LTS (HVM), SSD Volume Type (ami-5189a661)
3. Associate or copy security group to this Instance
4. Login via SSH to the server
5. Once logged in do an "su" to change to root user
6. run apt-get update
7. Create a directory called "/backup"
8. Created a user and assigned to that directory.  useradd  -d /backup mynewuser
9. passwd mynewuser

When I attempt to login as that user, I can never get connected.
I get a message that says, "Connection attempt failed with "ECONNREFUSED - Connection refused by server". or Error: Could not connect to server

Any ideas on what I've done wrong?

Thanks.
Paul KonstanskiProject SpecialistAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
How are you trying to login exactly? Via SSH or SFTP? If by "regular" FTP that won't work, try using SFTP ...
Did you set up an FTP server on this EC2 instance?
0
Shalom CarmelCTOCommented:
I bet there is no ftp daemon running, so you can't connect via FTP.

sftp is the better and more secure replacement to ftp. It is a standard client in linux, and can easily be deployed on windows with the Putty package. The sftp commands are nearly equivalent to the ftp commands and sftp can be easily scripted.

In case you must use plain old ftp, install and setup vsftpd.
See the instructions here https://help.ubuntu.com/lts/serverguide/ftp-server.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Zephyr ICTCloud ArchitectCommented:
Yes, my guess as well hence I mentioned connecting via sftp
0
Paul KonstanskiProject SpecialistAuthor Commented:
Thanks for the insight. I'm also working with Amazon to let them get into some of the deeper issues.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
AWS

From novice to tech pro — start learning today.