Hello For use link-local IPv6 address need to specify the interface. It's possible in command line but impossible in configure file. $ ssh fe80::203:47ff:fe98:7799%em1 it's ok, but $ ssh -F .ssh/config_test test percent_expand: unknown key %e $ cat .ssh/config_test host test HostName fe80::203:47ff:fe98:7799%em1
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.