summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2020-07-17 03:43:42 +0000
committerDamien Miller <djm@mindrot.org>2020-07-17 13:52:46 +1000
commit8df5774a42d2eaffe057bd7f293fc6a4b1aa411c (patch)
tree16e1028b667e7f3fc41034da48367165e1110741 /ssh_config.5
parentc4f239944a4351810fd317edf408bdcd5c0102d9 (diff)
downloadopenssh-git-8df5774a42d2eaffe057bd7f293fc6a4b1aa411c.tar.gz
upstream: Add a '%k' TOKEN that expands to the effective HostKey of
the destination. This allows, eg, keeping host keys in individual files using "UserKnownHostsFile ~/.ssh/known_hosts.d/%k". bz#1654, ok djm@, jmc@ (man page bits) OpenBSD-Commit-ID: 7084d723c9cc987a5c47194219efd099af5beadc
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.55
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index fce59d13..523ee697 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,7 +33,7 @@
.\" (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.329 2020/07/17 03:23:10 dtucker Exp $
+.\" $OpenBSD: ssh_config.5,v 1.330 2020/07/17 03:43:42 dtucker Exp $
.Dd $Mdocdate: July 17 2020 $
.Dt SSH_CONFIG 5
.Os
@@ -1850,6 +1850,9 @@ Local user's home directory.
The remote hostname.
.It %i
The local user ID.
+.It %k
+The host key alias if specified, otherwise the orignal remote hostname given
+on the command line.
.It %L
The local hostname.
.It %l