summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-30 22:25:34 +0000
committerDamien Miller <djm@mindrot.org>2020-01-31 09:27:10 +1100
commit771891a044f763be0711493eca14b6b0082e030f (patch)
treeb02322e129197bea4493034072283020523141fb
parentd53a518536c552672c00e8892e2aea28f664148c (diff)
upstream: document changed default for UpdateHostKeys
-rw-r--r--ssh_config.517
1 files changed, 13 insertions, 4 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index d36889b9..6d1d5e58 100644
--- a/ssh_config.5
+++ b/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.319 2020/01/28 01:49:36 djm Exp $
-.Dd $Mdocdate: January 28 2020 $
+.\" $OpenBSD: ssh_config.5,v 1.320 2020/01/30 22:25:34 djm Exp $
+.Dd $Mdocdate: January 30 2020 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -1678,13 +1678,22 @@ after authentication has completed and add them to
The argument must be
.Cm yes ,
.Cm no
-(the default) or
+or
.Cm ask .
-Enabling this option allows learning alternate hostkeys for a server
+This option allows learning alternate hostkeys for a server
and supports graceful key rotation by allowing a server to send replacement
public keys before old ones are removed.
Additional hostkeys are only accepted if the key used to authenticate the
host was already trusted or explicitly accepted by the user.
+.Pp
+.Cm UpdateHostKeys
+is enabled by default if the user has not overriden the default
+.Cm UserKnownHostsFile
+setting, otherwise
+.Cm UpdateHostKeys
+will be set to
+.Cm ask .
+.Pp
If
.Cm UpdateHostKeys
is set to