When I type
ssh remote-host command,
sshd will run
bash -c command for me.
sshd know to invoke
Oh dammit, this is hardcoded in OpenSSH's source code.
From session.c of OpenSSH 5.9p1 source code:
So I guess this is a POSIX standard huh?