bugzilla-daemon at mindrot.org
2020-Sep-06 19:21 UTC
[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 at mindrot.org Reporter: openssh at 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.
Maybe Matching Threads
- [Bug 2558] New: Add RemoteCommand option to ssh client
- [Bug 1815] New: RemoteCommand and PseudoTTY config options
- [Bug 1815] RemoteCommand and PseudoTTY config options
- [Bug 2103] New: remote command as an option in ssh_config
- Feature request/EOI: Match interactive config?