Disable default username prompt on connected for vsftpd

I configured vsftpd on a Ubuntu 13.10 with anonymous_enable=NO and local_enable=YES, and use my ssh credential to login. The problem is illustrated in this screenshot:

enter image description here

As you can see my username is shown as default name. I think this is a security problem (I know, I do have a strong password for this username, and adding another layer of obscurity doesn't hurt.) Is there anyway to disable default username prompt? Thanks.

1 Answer

The ftp server is not assuming your username. It's the client that it's sending your actual username as credentials. If I try to log in into your box, I get this (I've blurred your public IP for your own security):

enter image description here

So I don't think it's a security issue, it only happens because you're not specifying a username, and the system thinks you want to use the same you're already using in the client. Other people login from the outside would have the same error I did.

If you want to increase security, use sftp (ftp over ssh) which will add encryption to the whole client/server communication.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like