| Summary: | ssh cann't use link-local IPv6 address in configuration file | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Michael Tatarinov <kukabu> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | djm |
| Priority: | P5 | ||
| Version: | 6.2p1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Bug Depends on: | |||
| Bug Blocks: | 2226 | ||
|
Description
Michael Tatarinov
2013-11-13 19:04:40 AEDT
You can include a literal '%' using '%%', so: host test HostName fe80::203:47ff:fe98:7799%%em1 Does that solve your problem? Yes, it's solve problem. Thanks! Then it should be documented. Done. The manual text (coming in openssh-5.7) now reads: > HostName > Specifies the real host name to log into. This can be used to > specify nicknames or abbreviations for hosts. If the hostname > contains the character sequence `%h', then this will be replaced > with the host name specified on the command line (this is useful > for manipulating unqualified names). The character sequence `%%' > will be replaced by a single `%' character, which may be used > when specifying IPv6 link-local addresses. > > The default is the name given on the command line. Numeric IP > addresses are also permitted (both on the command line and in > HostName specifications). Close all bugs left open from 6.6 and 6.7 releases. |