| Summary: | RemoteCommand: Please allocate TTY, allow overriding command | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | main.haarp | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | NEW --- | ||||||
| Severity: | enhancement | CC: | daniel, djm, luizluca | ||||
| Priority: | P5 | ||||||
| Version: | 7.6p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
main.haarp
2017-11-26 02:58:34 AEDT
Regarding #2 - does RequestTTY=yes not solve this problem? (In reply to Damien Miller from comment #1) > Regarding #2 - does RequestTTY=yes not solve this problem? Yes, but then RequestTTY must accompany RemoteCommand in every config entry. This isn't always desirable, for example when using a command-line (which is what request 1 in this bug is about). The TTY allocation is a minor problem. However, the lack of precedence of cmdline command is a much more complex issue. Users have to use ugly hacks like https://unix.stackexchange.com/questions/451253/how-to-configure-ssh-with-a-remotecommand-only-for-interactive-sessions-i-e-wi Please, fix this. I don't think we should change the precedence, but maybe we could add a "Match command ..." to allow users to specify a RemoteCommand only for cases where none was entered on the commandline. |