Using WinSCP script to change login password of a Raspberry Pi device
Hi,
I am trying to write a WinSCP script to change the login password of a Raspberry Pi device.
On a PuTTY command-line console, I would type
How can I implement these steps in a WinSCP script?
Here is what I have in the script file (
I am trying to write a WinSCP script to change the login password of a Raspberry Pi device.
On a PuTTY command-line console, I would type
passwd
and then the following:
enter the current password [which is "raspberry"] enter the new password [say, "raspberry2"] retype new password
Here is what I have in the script file (
script.txt
):