From my ubuntu PC in the home network, I make
Code:
ssh pi@192.168.178.50 sudo shutdown -h 0
then it ask the password "pi@192.168.178.50'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 pi@192.168.178.50 sudo shutdown -h 0"
But
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?