From 8215ea28fa2f699499b64d6f2c712e068b199390 Mon Sep 17 00:00:00 2001
From: Hans Nilsson
Date: Fri, 11 Nov 2016 16:59:08 +0100
Subject: ssh: Add fun and fingerprint to option 'silently_accept_host'
---
lib/ssh/doc/src/ssh.xml | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
(limited to 'lib/ssh/doc/src')
diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml
index ef9f7cbd9b..6b49f89449 100644
--- a/lib/ssh/doc/src/ssh.xml
+++ b/lib/ssh/doc/src/ssh.xml
@@ -175,11 +175,21 @@
supplied with this option.
-
+
+
+ boolean()]]>
+
-
When true, hosts are added to the
file without asking the user.
- Defaults to false.
+ Defaults to false which will give a user question on stdio of whether to accept or reject a previously
+ unseen host.
+ If the option value is has an accept_fun(), that fun will called with the arguments
+ (PeerName, PeerHostKeyFingerPrint). The fingerprint is calculated on the Peer's Host Key with
+ public_key:ssh_hostkey_fingerprint/1.
+
+ If the crypto:digest_type() is present, the fingerprint is calculated with that digest type by the function
+ public_key:ssh_hostkey_fingerprint/2.
--
cgit v1.2.3
From e4a22216787f652ecf9044f89dfbbfedd3ddb317 Mon Sep 17 00:00:00 2001
From: Hans Nilsson
Date: Mon, 14 Nov 2016 15:08:35 +0100
Subject: ssh: Removed irrelevant rfc reference in doc
The rfc 4255 is about fingerprints, but only in the context of dns. Since this is out-of-scope for the Erlang/OTP ssh, the reference is missleading.
---
lib/ssh/doc/src/introduction.xml | 2 --
lib/ssh/doc/src/ssh_protocol.xml | 2 --
2 files changed, 4 deletions(-)
(limited to 'lib/ssh/doc/src')
diff --git a/lib/ssh/doc/src/introduction.xml b/lib/ssh/doc/src/introduction.xml
index ca84528f3d..b7a73e2597 100644
--- a/lib/ssh/doc/src/introduction.xml
+++ b/lib/ssh/doc/src/introduction.xml
@@ -195,8 +195,6 @@
Transport Layer Protocol
- RFC 4254 -
Connection Protocol
- - RFC 4255 -
- Key Fingerprints
- RFC 4344 -
Transport Layer Encryption Modes
- RFC 4716 -
diff --git a/lib/ssh/doc/src/ssh_protocol.xml b/lib/ssh/doc/src/ssh_protocol.xml
index 7288266cf7..013823b4df 100644
--- a/lib/ssh/doc/src/ssh_protocol.xml
+++ b/lib/ssh/doc/src/ssh_protocol.xml
@@ -138,8 +138,6 @@
Transport Layer Protocol.
- RFC 4254 -
Connection Protocol.
- - RFC 4255 -
- Key Fingerprints.
- RFC 4344 -
Transport Layer Encryption Modes.
- RFC 4716 -
--
cgit v1.2.3