When I type ssh remote-host command, sshd will run bash -c command for me.
How does sshd know to invoke bash with -c option?
|
feedback
|
|
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? | |||||
feedback
|