[Bug 3209] New: Make overriding RemoteCommand on the cli easier
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Mon Sep  7 05:21:13 AEST 2020
    
    
  
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.
    
    
More information about the openssh-bugs
mailing list