Hacker News new | ask | show | jobs
by moomerman 5378 days ago
SSH_ORIGINAL_COMMAND isn't in the ENV at all if no command was passed through
1 comments

Right, that was what I asked in my other post. I assumed sshd would fill in the login shell there if nothing was passed as that is effectively what is being called but it seems not. I see you're doing exec(SHELL) to fix that.