4 ms·
SSH_ORIGINAL_COMMAND isn't in the ENV at all if no command was passed through
by moomerman 15y ago
SSH_ORIGINAL_COMMAND isn't in the ENV at all if no command was passed through
- pedrocr 15y agoRight, 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.