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?
 
shalomcCTOCommented:
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
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.