How can I add an IPv6 address with a scope ID to the ssh config file?
You need to double the percent sign, like this:
Host vmiab
HostName fe80::1%%usb0
ssh-config has various substitutions such as %h
and %l
, and if you want a literal percent sign it has to be escaped as %%
.