- djm@cvs.openbsd.org 2014/07/03 05:32:36

[ssh_config.5]
     mention '%%' escape sequence in HostName directives and how it may
     be used to specify IPv6 link-local addresses
This commit is contained in:
Damien Miller 2014-07-03 21:26:21 +10:00
parent e6a407789e
commit ef9f13ba4c
2 changed files with 12 additions and 2 deletions

View File

@ -37,6 +37,10 @@
- djm@cvs.openbsd.org 2014/07/03 04:36:45 - djm@cvs.openbsd.org 2014/07/03 04:36:45
[digest.h] [digest.h]
forward-declare struct sshbuf so consumers don't need to include sshbuf.h forward-declare struct sshbuf so consumers don't need to include sshbuf.h
- djm@cvs.openbsd.org 2014/07/03 05:32:36
[ssh_config.5]
mention '%%' escape sequence in HostName directives and how it may
be used to specify IPv6 link-local addresses
20140702 20140702
- OpenBSD CVS Sync - OpenBSD CVS Sync

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 $ .\" $OpenBSD: ssh_config.5,v 1.187 2014/07/03 05:32:36 djm Exp $
.Dd $Mdocdate: March 28 2014 $ .Dd $Mdocdate: July 3 2014 $
.Dt SSH_CONFIG 5 .Dt SSH_CONFIG 5
.Os .Os
.Sh NAME .Sh NAME
@ -763,6 +763,12 @@ If the hostname contains the character sequence
.Ql %h , .Ql %h ,
then this will be replaced with the host name specified on the command line then this will be replaced with the host name specified on the command line
(this is useful for manipulating unqualified names). (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. The default is the name given on the command line.
Numeric IP addresses are also permitted (both on the command line and in Numeric IP addresses are also permitted (both on the command line and in
.Cm HostName .Cm HostName