Y
Hacker News
new
|
ask
|
show
|
jobs
by
pedrocr
5380 days ago
In the extended example you're falling back to exec(SHELL) if SSH_ORIGINAL_COMMAND doesn't exist. Does sshd not set that to the login shell if no command is specified by the client?