Login to Raspberry Pi to shutdown properly

How can I shut down the Raspberry Pi properly by ssh for a few hours?Because just pulling the plug might harm it.

“ssh pi@raspberrypi.local” / pwd “pi” as in Misc/general-configuration-HOWTO.txt line 44-45 gets me “Permission denied, please try again”.
“ssh pi@telraam.local” / pwd “pi” as in line 387-388 returns “ssh: connect to host telraam.local port 22: Connection refused”.
I also tried pwd TelraamTelraam and user telraam, but nothing works.

What are the correct credentials to log into the Raspi to turn it off??