https://bugzilla.mindrot.org/show_bug.cgi?id=3200

--- Comment #2 from kircher <[email protected]> ---
Maybe we can prevent this by configuring the mandatory command.
A simple example is:

ForceCommand if [[ -z $SSH_ORIGINAL_COMMAND ]];then exec /bin/bash
-il;elif [[ -z "$(echo $SSH_ORIGINAL_COMMAND | grep scp | grep '`')"
]];then exec /bin/bash -c "$SSH_ORIGINAL_COMMAND";else echo backquote
not allow in scp;fi

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to