| Summary: | Make overriding RemoteCommand on the cli easier | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Camden Narzt <openssh> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | NEW --- | ||||||
| Severity: | enhancement | ||||||
| Priority: | P5 | ||||||
| Version: | 8.3p1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 3444 [details] 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.