bugzilla-daemon at mindrot.org
2024-May-08 09:59 UTC
[Bug 3688] New: Automatically create Host alias
https://bugzilla.mindrot.org/show_bug.cgi?id=3688 Bug ID: 3688 Summary: Automatically create Host alias Product: Portable OpenSSH Version: 9.7p1 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: ssh Assignee: unassigned-bugs at mindrot.org Reporter: moritz.widmann at mail.ch Defining aliases is currently a somewhat tedious manual process. You have to add a `Host` entry to your ssh config file manually. That's why I want to propose the addition of two new optional parameters, something like this: -z alias Adds a new Host entry to the ssh config file with the alias as the name, with the given host, user and/or port. If the alias already exists, it will be overwritten. -Z alias Does the same as -z, but does not connect. This way you can either execute the actual ssh command and set the alias (with -z), or just set the alias, with (-Z). -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2024-May-09 01:27 UTC
[Bug 3688] Automatically create Host alias
https://bugzilla.mindrot.org/show_bug.cgi?id=3688 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX CC| |djm at mindrot.org --- Comment #1 from Damien Miller <djm at mindrot.org> --- ssh doesn't modify its config file at present and we don't intend to change that, sorry. This seems like a better job for a shell script, rather than adding it to ssh. -- 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.
Seemingly Similar Threads
- [Bug 2525] New: Please add an alias such as -o Insecure for -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
- [Bug 605] make install don't create piddir
- [Bug 3706] New: Support upgrading sshd without restarting the server
- [Bug 2450] New: paint visual host key with unicode box-drawing characters
- [Bug 2602] New: (Feature request) Verify host using key in destination user account