summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2014-07-03 05:32:36 +0000
committerdjm <djm@openbsd.org>2014-07-03 05:32:36 +0000
commitc759574a1141cdad19042a49c2c9608ada39ae6d (patch)
treee0696ec42f6e4d437402beae0b1fbd5ee6d67fcf
parentforward-declare struct sshbuf so consumers don't need to include sshbuf.h (diff)
downloadwireguard-openbsd-c759574a1141cdad19042a49c2c9608ada39ae6d.tar.xz
wireguard-openbsd-c759574a1141cdad19042a49c2c9608ada39ae6d.zip
mention '%%' escape sequence in HostName directives and how it may
be used to specify IPv6 link-local addresses
-rw-r--r--usr.bin/ssh/ssh_config.510
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