local lan detection
authorJoey Hess <joeyh@joeyh.name>
Mon, 14 Nov 2016 22:37:56 +0000 (18:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 14 Nov 2016 22:37:56 +0000 (18:37 -0400)
doc/design/assistant/telehash.mdwn

index 373f1a57581ababae1b43530c11cf5cf725633b4..5c410999feb6afaa168856e3fa81f0435921a68e 100644 (file)
@@ -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.