[Bug 2801] New: RemoteCommand: Please allocate TTY, allow overriding command

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Nov 26 02:58:34 AEDT 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2801

            Bug ID: 2801
           Summary: RemoteCommand: Please allocate TTY, allow overriding
                    command
           Product: Portable OpenSSH
           Version: 7.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: main.haarp at gmail.com

Created attachment 3097
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3097&action=edit
Allocate TTY, allow overriding command

Thank you for merging RemoteCommand.

I have two feature requests on top of it.

1. When specifying a command line to ssh while RemoteCommand is active,
openssh aborts with:

"Cannot execute command-line and remote command."

I think it would be much better to have a specified command line
override RemoteCommand instead. Otherwise it becomes a pain having it
active in your config.


2. When using RemoteCommand, no TTY is allocated by default, which
makes having shells in RemoteCommand very inconvenient.



I have attached a trivial patch taking care of both.

Also see comment 9 of bug 2103
(https://bugzilla.mindrot.org/show_bug.cgi?id=2103#c9).


Thanks!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list