Differences
This shows you the differences between the selected revisions of the page.
2025-01-26 | 2025-01-26 (current) | ||
no summary (174.229.180.93) (hidden) (untrusted) | 6.1 stable released (martin) | ||
Line 3: | Line 3: | ||
Options for changing your account password differ with [[protocol]] you are using with your server. Most servers actually do not allow changing password using file transfer protocols used by WinSCP. In such case, you will need to use some [[#alternative|alternative method]]. | Options for changing your account password differ with [[protocol]] you are using with your server. Most servers actually do not allow changing password using file transfer protocols used by WinSCP. In such case, you will need to use some [[#alternative|alternative method]]. | ||
+ | ===== SSH protocol (SFTP/SCP) ===== | ||
+ | [[SSH]] protocol allows changing an account password. But many SSH servers, notably the OpenSSH, does not actually allow that. | ||
+ | If your %%SSH%% server allows changing your account password, go to //Tabs > Change Password// to request that. | ||
+ | Also an %%SSH%% server can enforce password change on its own, e.g. in case the previous one expires. This can happen during authentication to the server. There are two possible methods, both are supported by WinSCP: | ||
+ | * Explicit [[ui_authenticate#password_change|password change]] request. | ||
+ | * Using [[ui_authenticate#keyboard_interactive|keyboard-interactive]] authentication. | ||
+ | ===== [[ftp]] FTP protocol ===== | ||
+ | [[ftp|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: | ||
+ | |||
+ | <code> | ||
+ | SITE PSWD "<old_password>" "<new_password>" | ||
+ | </code> | ||
+ | |||
+ | Other servers, such as [[https://community.progress.com/s/article/Can-users-change-their-own-passwords-remotely|WS_FTP Server]], support ''SITE CPWD'' command: | ||
+ | |||
+ | <code> | ||
+ | CPWD <new_password> | ||
+ | </code> | ||
+ | |||
+ | Yet another variant is: | ||
+ | |||
+ | <code> | ||
+ | SITE CPWD <new_password> | ||
+ | </code> | ||
+ | |||
+ | You can execute any of these commands from [[ui_console|Console window]]. | ||
+ | |||
+ | ===== WebDAV and S3 protocols ===== | ||
+ | |||
+ | [[WebDAV]] and [[S3]] protocols do not provide a method for changing an account password/secret access key. | ||
+ | |||
+ | ===== [[alternative]] Alternative methods ===== | ||
+ | If you have a terminal (SSH) 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). |