diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2014-07-03 05:32:37 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2014-07-03 05:32:37 +0000 |
commit | 911efba570c32933ee8b91de11824b343b027289 (patch) | |
tree | f1ee4db5f013c1fe00d847204a0144d3314a0a30 /usr.bin/ssh/ssh_config.5 | |
parent | aad0526ac721eaf4c05267419a51b88bec16f886 (diff) |
mention '%%' escape sequence in HostName directives and how it may
be used to specify IPv6 link-local addresses
Diffstat (limited to 'usr.bin/ssh/ssh_config.5')
-rw-r--r-- | usr.bin/ssh/ssh_config.5 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index f96f37ba3a7..5c6bd29ea02 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/ssh_config.5 @@ -33,8 +33,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.186 2014/03/28 05:17:11 naddy Exp $ -.Dd $Mdocdate: March 28 2014 $ +.\" $OpenBSD: ssh_config.5,v 1.187 2014/07/03 05:32:36 djm Exp $ +.Dd $Mdocdate: July 3 2014 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -763,6 +763,12 @@ If the hostname contains the character sequence .Ql %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 +.Ql %% +will be replaced by a single +.Ql % +character, which may be used when specifying IPv6 link-local addresses. +.Pp The default is the name given on the command line. Numeric IP addresses are also permitted (both on the command line and in .Cm HostName |