explain a couple of gotchas - online edit of handbook/computing/keyexchange.html

This commit is contained in:
Expo on server 2023-05-02 16:11:45 +01:00
parent 979cd5278c
commit 67ef7b2f0b

View File

@ -99,7 +99,7 @@ if not, then move them there:
<code>
<font color="darkred">$</font> mv id_rsa_wsl* ~/.ssh
</code>
where <b>id_rsa_wsl</b> is the 'file in which to save the key' you specified above.
where <b>id_rsa_wsl</b> is the 'file in which to save the key' you specified above. (Other documentation may suggest that this file is called, e.g. 'anathema@mydevice'). But all the files int he .ssh folder must have secure access permissions, e.g. <var>chmod 600 ~/.ssh/*</var>
<br><br></li>
<li>Check that the ssh agent process is running and fix it if it is not (full details of how to do this
give at <a href="https://www.ssh.com/academy/ssh/agent">www.ssh.com/academy/ssh/agent</a>)
@ -108,8 +108,8 @@ give at <a href="https://www.ssh.com/academy/ssh/agent">www.ssh.com/academy/ssh/
</code>
and if the process is not running, start it like this
<code>
<font color="darkred">$</font> eval `ssh-agent`
<font color="darkred">$</font> ssh-add ~/.ssh/<b>id_rsa_wsl</b>
<font color="darkred">$</font> eval `ssh-agent`<br />
<font color="darkred">$</font> ssh-add ~/.ssh/<b>id_rsa_wsl</b><br />
<font color="darkred">$</font> ssh-add -l
</code>
<var>ssh-add -l</var> checks that the key is loaded and the process is running. Now try to login again
@ -119,6 +119,7 @@ with <var>ssh expo@expo.survex.com</var>.
</ol>
<p>If it still doesn't work, read <href="https://www.ssh.com/academy/ssh/keygen">the online
documentation</a>, start from scratch, and do it all again but this time using all the defaults and without trying to be clever.
<h3>MacOS</h3>
<li>Erm, dunno...please fill in</li>