mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-09 15:24:31 +00:00
Added instructions for setting up ssh keys on MacOS - online edit of handbook/computing/keyexchange.html
This commit is contained in:
committed by
Expo on server
parent
98e91995b8
commit
a64154293f
@@ -123,8 +123,39 @@ with <var>ssh expo@expo.survex.com</var>.
|
||||
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>
|
||||
<br>
|
||||
Macs already have OpenSSH installed, so all you have to do is open the terminal and type:</li>
|
||||
<br>
|
||||
<code>
|
||||
<font color="darkred">$</font> ssh-keygen
|
||||
</code>
|
||||
<br>
|
||||
This should return a message saying something like:
|
||||
<br><br>
|
||||
<code>
|
||||
Generating public/private xxxxxx key pair.<br>
|
||||
Enter file in which to save the key (/Users/you/.ssh/id_xxxxxx):
|
||||
</code>
|
||||
<br>
|
||||
Type 'id_xxxxxx' and press enter, and you'll get these prompts:
|
||||
<br><br>
|
||||
<code>
|
||||
Enter passphrase for "id_xxxxxx" (empty for no passphrase):
|
||||
<br>
|
||||
Enter same passphrase again:
|
||||
</code>
|
||||
<br>
|
||||
Simply press enter for both without typing anything. This should return a confirmation message saying your keys have been saved, along with some arcane randomart (see linux description above for an example).
|
||||
<br><br>
|
||||
Now that your system has generated and saved the ssh keys, you may have to move them. Open Finder and go to /Users/you, then press cmnd+shift+. to see hidden files, which should allow you to see your .ssh file. Open it and check whether id_xxxxxx and id_xxxxxx.pub have been saved there. If they have not, find them and move them both here (they'll likely be in /Users/you).
|
||||
<br><br>
|
||||
Next, send your public key (id_xxxxxx.pub) to a nerd and ask them to load it onto the public server. Once this is done, you can log into the server anytime by opening terminal and typing:
|
||||
<br><br>
|
||||
<code>
|
||||
ssh expo@expo.survex.com
|
||||
</code>
|
||||
<br>As a small disclaimer, I've (Buck Blake) only done this on my own mac, and not tested it on others, so some of the specifics might not match up quite right. It should however be broadly similar on other macs. If in doubt, find a nerd and get them to help you!
|
||||
|
||||
<li>Erm, dunno...please fill in</li>
|
||||
|
||||
<h3>Chromebook</h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user