summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-01-26 03:04:45 +0000
committerDamien Miller <djm@mindrot.org>2015-01-27 00:00:57 +1100
commit8d4f87258f31cb6def9b3b55b6a7321d84728ff2 (patch)
treec98e66c1c0824f0b0e312d7b44d8eeac46265362 /ssh_config.5
parent60b1825262b1f1e24fc72050b907189c92daf18e (diff)
upstream commit
Host key rotation support. Add a hostkeys@openssh.com protocol extension (global request) for a server to inform a client of all its available host key after authentication has completed. The client may record the keys in known_hosts, allowing it to upgrade to better host key algorithms and a server to gracefully rotate its keys. The client side of this is controlled by a UpdateHostkeys config option (default on). ok markus@
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.526
1 files changed, 24 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index 361c32288..0d4cdf4c6 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.199 2014/12/22 09:24:59 jmc Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.200 2015/01/26 03:04:45 djm Exp $
37.Dd $Mdocdate: December 22 2014 $ 37.Dd $Mdocdate: January 26 2015 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -1492,6 +1492,28 @@ is not specified, it defaults to
1492.Dq any . 1492.Dq any .
1493The default is 1493The default is
1494.Dq any:any . 1494.Dq any:any .
1495.It Cm UpdateHostkeys
1496Specifies whether
1497.Xr ssh 1
1498should accept notifications of additional hostkeys from the server sent
1499after authentication has completed and add them to
1500.Cm UserKnownHostsFile .
1501The argument must be
1502.Dq yes
1503(the default)
1504or
1505.Dq no .
1506Enabling this option allows learning alternate hostkeys for a server
1507and supports graceful key rotation by allowing a server to public replacement
1508keys before old ones are removed.
1509Additional hostkeys are only accepted if the key used to authenticate the
1510host was already trusted or explicity accepted by the user.
1511.Pp
1512Presently, only
1513.Xr sshd 8
1514from OpenSSH 6.8 and greater support the
1515.Dq hostkeys@openssh.com
1516protocol extension used to inform the client of all the server's hostkeys.
1495.It Cm UsePrivilegedPort 1517.It Cm UsePrivilegedPort
1496Specifies whether to use a privileged port for outgoing connections. 1518Specifies whether to use a privileged port for outgoing connections.
1497The argument must be 1519The argument must be