bugzilla-daemon at mindrot.org
2021-Aug-26 07:49 UTC
[Bug 3343] New: Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Bug ID: 3343 Summary: Display host provided as argument with "ssh -G" Product: Portable OpenSSH Version: 8.7p1 Hardware: Other OS: All Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: vincent at bernat.ch Created attachment 3546 --> https://bugzilla.mindrot.org/attachment.cgi?id=3546&action=edit Add original hostname to output of "ssh -G" Hey! In some occasions, it is interesting to be able to extract the host provided as an argument. In my case, this is useful when wrapping the SSH command to update the window title with the hostname or add additional arguments depending on the target host. This can currently be done with `ssh -G` but the returned hostname is the `Hostname` option which may not match the hostname provided on the command-line. In my case, it is often an IP address which is not helpful to display as a window title. Would it be possible to add the original hostname to the output of `ssh -G`? Attached a tiny patch for this purpose. -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Aug-27 03:23 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at dtucker.net --- Comment #1 from Darren Tucker <dtucker at dtucker.net> --- The output of ssh -G is itself a valid ssh_config(5) and we have a test that checks that (which occasionally does pick up problems). Your change as is would break that, but outputting it as a Host line should work. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Aug-27 04:10 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3339 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3339 [Bug 3339] Tracking bug for openssh-8.8 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Aug-27 04:14 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3546|0 |1 is obsolete| | CC| |djm at mindrot.org Attachment #3547| |ok?(djm at mindrot.org) Flags| | --- Comment #2 from Darren Tucker <dtucker at dtucker.net> --- Created attachment 3547 --> https://bugzilla.mindrot.org/attachment.cgi?id=3547&action=edit Move host_arg into config struct and add to -G output -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Sep-21 12:00 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 --- Comment #3 from Vincent Bernat <vincent at bernat.ch> --- Hey! As 8.8 is around the corner, am I expected to do something to make this move forward? I have tested the patch on master of openssh-portable and it works fine for me. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Oct-08 11:16 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3353 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3353 [Bug 3353] Tracking bug for openssh-8.9 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2021-Oct-08 11:16 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|3339 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3339 [Bug 3339] Tracking bug for openssh-8.8 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2022-Feb-25 02:53 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|3353 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3353 [Bug 3353] Tracking bug for openssh-8.9 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2022-Feb-25 02:54 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3395 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3395 [Bug 3395] Tracking bug for openssh-9.0 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2022-Feb-25 09:15 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 --- Comment #4 from Vincent Bernat <vincent at bernat.ch> --- Just in case, running the patch on top of 8.8 portable, no issue on my side. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2022-Apr-08 01:58 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3418 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3418 [Bug 3418] tracking bug for openssh-9.1 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2022-Apr-08 02:01 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|3395 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3395 [Bug 3395] Tracking bug for openssh-9.0 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2022-Oct-04 10:56 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3480 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3480 [Bug 3480] tracking bug for openssh-9.1 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2022-Oct-04 10:56 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|3418 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3418 [Bug 3418] tracking bug for openssh-9.1 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2023-Jan-13 02:28 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #3547|ok?(djm at mindrot.org) |ok+ Flags| | -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2023-Jan-13 03:02 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Darren Tucker <dtucker at dtucker.net> --- This has been committed and will be in the 9.2 release. Thanks for the report. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2023-Mar-17 02:41 UTC
[Bug 3343] Display host provided as argument with "ssh -G"
https://bugzilla.mindrot.org/show_bug.cgi?id=3343 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Damien Miller <djm at mindrot.org> --- OpenSSH 9.3 has been released. Close resolved bugs -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.