From my ubuntu PC in the home network, I make
ssh firstname.lastname@example.org sudo shutdown -h 0
then it ask the password "email@example.com's password: "
then I take later the connector away from the raspberry pi.
For making it easier for my family members, I was thinking about using an alias
alias stopsmallpc="ssh firstname.lastname@example.org sudo shutdown -h 0"
a) the password has still to be given
b) the connector has still to be taken away before the raspberry light is off
Know somebody a solution for a) and/or b) ?
For a), how to give the password into the ssh command line?
Perhaps the raspberry pi LED-lamp cannot completely be shutdowned when it stay at the electricity?