Link to home
Start Free TrialLog in
Avatar of thomaszhwang
thomaszhwangFlag for United States of America

asked on

User Management on vsftpd

I'm trying to ftp into my remote Linux server.  I have already installed vsftpd.  However when I SSH into my remote server, I don't use a user name/password combination.  I use a certificate instead.  In this case, how I can authenticate my FTP user?  Thanks.
SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thomaszhwang

ASKER

Thanks farzanj, but I think vsftpd is using SFTP, isn't it?  I just want to know how to authenticate the user in my case.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Use sftp client, it works over ssh. You don't need vsftp server for that.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
First off, some clarification: vsftpd is just a program/daemon that runs FTP.  FTP on vsftp can be configured to use SSL/TLS/SFTP.  I'm not sure why that was overlooked.

@thomaszhwang: is FTP a requirement, or do you just need to be able to transfer files?  If file transfer is the only requirement, I would definitely go with an SSH server, which implements sftp (FTP over SSH) as well; it is the easiest to setup and uses local accounts.  If you want password-less access using sftp (or scp), copy the local public key (generated via "ssh-keygen") to the remote server:
ssh-copy-id /home/user/.ssh/id_dsa.pub user@remote.machine

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
What I want to do is to use Dreamweaver synchronize my local files to my remote server.  Dreamweaver has an SFTP option, but it requires a user name/password combination to access the server.  For now, I'm using a certificate instead of a user name/password combination to SSH into the server.  In this case, does it possible for me to use Dreamweaver to synchronize the files?  Thanks everyone!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks everyone!