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-b...@mindrot.org
          Reporter: moritz.widm...@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to