Can I change my account password with WinSCP?

SFTP protocol

Neither SSH nor SFTP protocol provide a method for changing an account password.

Advertisements:

However with SSH protocol there are methods by which the server can enforce password change, in case the previous one expires. There are two possible methods, both are supported by WinSCP:

Note that password change via above methods has to be initiated by the server. You cannot request it explicitly yourself.

FTP protocol

FTP protocol does not provide a method for changing an account password either.

Though various FTP servers support proprietary commands that can be used to change the password.

Some servers, such as Titan FTP server, support SITE PSWD command:

SITE PSWD "<old_password>" "<new_password>"

Other servers, such as WS_FTP Server, support CPWD command:

CPWD <new_password>

Yet another variant is:

SITE CPWD <new_password>

You can execute any of these commands from Console window.

WebDAV protocol

WebDAV protocol does not provide a method for changing an account password.

Alternative methods

If you have a terminal access to your server, change your password in the terminal session.

If you do not have a terminal access, your server administrator (e.g. webhosting providers) will have another method for changing a password (typically via their web site).

 
  faq_change_passwd.txt · Last modified: by martin
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate