From 67c1e87f0568d0d8f2ef722461c3d4ab03bdded8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Nov 2016 18:37:56 -0400 Subject: [PATCH] local lan detection --- doc/design/assistant/telehash.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/design/assistant/telehash.mdwn b/doc/design/assistant/telehash.mdwn index 373f1a5758..5c410999fe 100644 --- a/doc/design/assistant/telehash.mdwn +++ b/doc/design/assistant/telehash.mdwn @@ -123,6 +123,14 @@ so won't want to type that in. Need discovery. for Bob to confirm he's ready to finish pairing, this will fail, because Bob won't get to that point if the authtoken is intercepted. +## local lan detection + +At connection time, after authentication, the remote can send +(ip address, ssh host key). Try sshing to the ip address to check if +the host key matches. If so, can enable a ssh remote, which will +be cheaper than using the transport. Send the ssh public key back to the +remote to get it authorized. + ## remotedaemon See [[git-remote-daemon]] for its design.