aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Pairing/MakeRemote.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Pairing/MakeRemote.hs')
-rw-r--r--Assistant/Pairing/MakeRemote.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Assistant/Pairing/MakeRemote.hs b/Assistant/Pairing/MakeRemote.hs
index dd15015a0..38f9981e5 100644
--- a/Assistant/Pairing/MakeRemote.hs
+++ b/Assistant/Pairing/MakeRemote.hs
@@ -26,10 +26,10 @@ setupAuthorizedKeys msg repodir = do
where
pubkey = remoteSshPubKey $ pairMsgData msg
-{- When pairing is complete, this is used to set up the remote for the host
- - we paired with. -}
-finishedPairing :: PairMsg -> SshKeyPair -> Assistant ()
-finishedPairing msg keypair = do
+{- When local pairing is complete, this is used to set up the remote for
+ - the host we paired with. -}
+finishedLocalPairing :: PairMsg -> SshKeyPair -> Assistant ()
+finishedLocalPairing msg keypair = do
sshdata <- liftIO $ setupSshKeyPair keypair =<< pairMsgToSshData msg
{- Ensure that we know the ssh host key for the host we paired with.
- If we don't, ssh over to get it. -}