How can I find my SFTP username and password ?

Posted September 26, 2018 5.5k views

How can I found sftp user and password ?
I am biginer in digital ocean I want retrive and change my ftp password. Is there any way to change the ftp user and password.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You’ll need to login as root and then use the passwd command to change your SFTP user’s password. So if your user name is sftp_user, do this:

passwd sftp_user

Then follow the password reset prompt.