[Bug 3209] Make overriding RemoteCommand on the cli easier
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Dec 7 01:10:36 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3209
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3849
--> https://bugzilla.mindrot.org/attachment.cgi?id=3849&action=edit
Match command for ssh_config
We want this behaviour because it's potentially dangerous to surprise
oneself with a remote command where none was expected. Moreover,
changing the behaviour after it's been this way for a while is doubly
dangerous.
IMO it's better to give people who really care about this the ability
to set RemoteCommand only if there was no command-line command in the
first place. E.g. this patch allows stuff like:
Match command=""
RemoteCommand blah
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list