From b1adbcbb8c2d295f419d048bd2f42736436c9462 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Nov 2016 18:37:56 -0400 Subject: local lan detection --- doc/design/assistant/telehash.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') diff --git a/doc/design/assistant/telehash.mdwn b/doc/design/assistant/telehash.mdwn index 373f1a575..5c410999f 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. -- cgit v1.2.3