Wearable:Tech Projects with the Raspberry Pi Zero
上QQ阅读APP看书,第一时间看更新

Changing your password

To change your password, enter the following command into your SSH connection:

passwd

You will be asked to enter your current password (raspberry) and then asked to enter a new password twice. All being well, you should see a message like the one in the next screenshot. After changing a password over an SSH connection, I always open another SSH connection to my Pi and check whether I can successfully connect using my new password before I close the connection: