[Bug 3688] New: Automatically create Host alias
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Wed May 8 19:59:15 AEST 2024
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.
More information about the openssh-bugs
mailing list