mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-21 23:01:55 +00:00
explain a couple of gotchas - online edit of handbook/computing/keyexchange.html
This commit is contained in:
parent
979cd5278c
commit
67ef7b2f0b
@ -99,7 +99,7 @@ if not, then move them there:
|
|||||||
<code>
|
<code>
|
||||||
<font color="darkred">$</font> mv id_rsa_wsl* ~/.ssh
|
<font color="darkred">$</font> mv id_rsa_wsl* ~/.ssh
|
||||||
</code>
|
</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>
|
<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
|
<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>)
|
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>
|
</code>
|
||||||
and if the process is not running, start it like this
|
and if the process is not running, start it like this
|
||||||
<code>
|
<code>
|
||||||
<font color="darkred">$</font> eval `ssh-agent`
|
<font color="darkred">$</font> eval `ssh-agent`<br />
|
||||||
<font color="darkred">$</font> ssh-add ~/.ssh/<b>id_rsa_wsl</b>
|
<font color="darkred">$</font> ssh-add ~/.ssh/<b>id_rsa_wsl</b><br />
|
||||||
<font color="darkred">$</font> ssh-add -l
|
<font color="darkred">$</font> ssh-add -l
|
||||||
</code>
|
</code>
|
||||||
<var>ssh-add -l</var> checks that the key is loaded and the process is running. Now try to login again
|
<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>
|
</ol>
|
||||||
<p>If it still doesn't work, read <href="https://www.ssh.com/academy/ssh/keygen">the online
|
<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.
|
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>
|
<h3>MacOS</h3>
|
||||||
|
|
||||||
<li>Erm, dunno...please fill in</li>
|
<li>Erm, dunno...please fill in</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user