diff --git a/handbook/computing/keyexchange.html b/handbook/computing/keyexchange.html index fa3a0964c..abc20c136 100644 --- a/handbook/computing/keyexchange.html +++ b/handbook/computing/keyexchange.html @@ -45,7 +45,7 @@
This is an example of the whole interaction where the key file has been given a different name:
-$ ssh-keygen -C "philip@muscogee-wsl"
+$ ssh-keygen -C "philip@muscogee-wsl"
Generating public/private rsa key pair.
Enter file in which to save the key (/home/philip/.ssh/id_rsa): id_rsa_wsl
Enter passphrase (empty for no passphrase):
@@ -67,9 +67,40 @@ The key's randomart image is:
|oo |
+----[SHA256]-----+
$
-
+
+This will enable ssh login instantly. Check that it has worked by logging in to the expo server like this:
+
+$ ssh expo@expo.survex.com
+
+
You may get this response if the public key has not been loaded properly on the server or if your laptop has not loaded the secret key properly.
+
+expo@expo.survex.com: Permission denied (publickey).
+
+
+$ mv id_rsa_wsl* ~/.ssh
+
+where id_rsa_wsl is the 'file in which to save the key' you specified above.
+
+$ ssh-add -l
+
+and if the process is not running, start it like this
+
+$ eval `ssh-agent`
+
+Check that the key is loaded by running ssh-add -l and then test that you can login again.
+If it still doesn't work, read MacOS