Mailing List Archive

[Bug 3209] New: Make overriding RemoteCommand on the cli easier
https://bugzilla.mindrot.org/show_bug.cgi?id=3209

Bug ID: 3209
Summary: Make overriding RemoteCommand on the cli easier
Product: Portable OpenSSH
Version: 8.3p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs@mindrot.org
Reporter: openssh@narzt.cam

Created attachment 3444
--> https://bugzilla.mindrot.org/attachment.cgi?id=3444&action=edit
suggested patch to prefer cli remote command

If you have set a RemoteCommand in the cli, and specify a command at
the end of the ssh command on the cli, it will error out with "Cannot
execute command-line and remote command.".

While you can specify -o RemoteCommand="your command here" on the cli
or -o RemoteCommand=none and put your command one the end of the ssh
command, or set a blank config, but it would be easier if the command
specified at the end of the ssh command would simply override the
RemoteCommand specified in the config.

--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs