Bunch of sed replacing on the ssh page

This commit is contained in:
Em 2019-11-19 14:09:31 -05:00
parent e3a2b84dd8
commit fd6bbaf5a0
1 changed files with 21 additions and 20 deletions

View File

@ -6,16 +6,16 @@ title: RadioFreqs.space Guide to SSH Keys
## how to make an ssh key
SSH supports a handful of types of cryptographic keys. The most used are [RSA](<https://en.wikipedia.org/wiki/RSA_(cryptosystem)>) and the more modern [Ed25519](https://en.wikipedia.org/wiki/EdDSA#Ed25519).
SSH supports a handful of types of cryptographic keys. The most used are [RSA](https://en.wikipedia.org/wiki/RSA_%28cryptosystem%29) and the more modern [Ed25519](https://en.wikipedia.org/wiki/EdDSA#Ed25519).
RSA is the de-facto standard and is supported everywhere (just choose a big enough key like 4096bits to be secure). Ed25519 is designed to be faster and smaller withouth sacrificing security, so is best suited for embedded devices or machines with low resources. It's supported on tilde (and really on anymodern system) but you may find older systems which do not support it.
RSA is the de-facto standard and is supported everywhere (just choose a big enough key like 4096bits to be secure). Ed25519 is designed to be faster and smaller without sacrificing security, so is best suited for embedded devices or machines with low resources. It's supported on tilde (and really on any modern system) but you may find older systems which do not support it.
Below you'll find instructions to generate either type (or both if you want).
Keep in mind that these instructions leave your private keys unencrypted in your local hard disk. So keep them private; never share them.
A good solution is to provide a password for them at creation time, but this implies entering a password any time you used them (impractical) or use something like [ssh-agent](https://man.openbsd.org/ssh-agent.1) (a bit more complex)
We don't have documentation for this [(yet)](https://tildegit.org/team/site/src/branch/master/wiki) so either go with no password keys, or ask on IRC ([#team](https://web.tilde.chat/?join=team)) for help.
We don't have documentation for this [(yet)](https://tildegit.org/radiofreqs/wiki/src/branch/master/pages) so either go with no password keys, or ask on IRC ([#radiofreqs](https://web.tilde.chat/?join=radiofreqs)) for help.
pick your fighter: [[mac](#mac)] | [[windows](#windows)] | [[linux](#linux)]
@ -41,7 +41,7 @@ for rsa keys:
ssh-keygen -t rsa -b 4096
```
for dd25519 keys:
for ed25519 keys:
```bash
ssh-keygen -t ed25519 -a 100
@ -51,21 +51,22 @@ ssh-keygen -t ed25519 -a 100
1. `cat ~/.ssh/id_rsa.pub` (or `cat ~/.ssh/id_ed25519.pub` for ed25519)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [~sudoers](mailto:sudoers@tilde.team) if you already have an account)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [admins](mailto:admins@radiofreqs.space) if you already have an account)
#### using your keypair
once [~ben](https://tilde.team/~ben/) or another admin approves your signup, you can join the tilde.team
once nonlinear or another admin approves your signup, you can join radiofreqs.space
1. open terminal (it's in `/Applications/Utilities`)
1. `ssh` to tilde.team:
1. `ssh` to radiofreqs.space:
```bash
ssh username@tilde.team
ssh username@radiofreqs.space
```
where username is your username (~ben would use `ssh ben@tilde.team`)
where username is your username (nonlinear would use `ssh
nonlinear@radiofreqs.space`)
1. profit???
@ -109,21 +110,21 @@ ssh-keygen -t ed25519 -a 100
1. `cat ~/.ssh/id_rsa.pub` (or `cat ~/.ssh/id_ed25519.pub` for ed25519)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [~sudoers](mailto:sudoers@tilde.team) if you already have an account)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [admins](mailto:admins@radiofreqs.space) if you already have an account)
#### using your keypair
once [~ben](https://tilde.team/~ben/) or another admin approves your signup, you can join the tilde.team
once nonlinear or another admin approves your signup, you can join radiofreqs.space
1. open terminal (it's in `/Applications/Utilities`)
1. `ssh` to tilde.team:
1. `ssh` to radiofreqs.space:
```bash
ssh username@tilde.team
ssh username@radiofreqs.space
```
where username is your username (~ben would use `ssh ben@tilde.team`)
where username is your username (nonlinear would use `ssh nonlinear@radiofreqs.space`)
1. profit???
@ -159,26 +160,26 @@ ssh-keygen -t ed25519 -a 100
1. `cat ~/.ssh/id_rsa.pub` (or `cat ~/.ssh/id_ed25519.pub` for ed25519)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [sudoers@tilde.team](mailto:sudoers@tilde.team) if you already have an account)
1. copy the output of the last command and paste it in the sshkey field on the signup form (or email it to [admins](mailto:admins@radiofreqs.space) if you already have an account)
#### using your keypair
once [~ben](https://tilde.team/~ben/) or another admin approves your signup, you can join the tilde.team
once nonlinear or another admin approves your signup, you can join radiofreqs.space
1. open a terminal (this depends on your distro)
1. `ssh` to tilde.team:
1. `ssh` to radiofreqs.space:
```bash
ssh username@tilde.team
ssh username@radiofreqs.space
```
where username is your username (~ben would use `ssh ben@tilde.team`)
where username is your username (nonlinear would use `ssh nonlinear@radiofreqs.space`)
1. profit???
---
this tutorial is taken from [tilde.team ssh wiki page](https://tilde.team/wiki/?page=ssh) uses parts of [the tilde.club ssh primer](https://github.com/tildeclub/tilde.club/blob/master/docs/ssh.md) and [the tilde.town ssh guide](https://tilde.town/wiki/ssh.html).
this tutorial is taken from [radiofreqs.space ssh wiki page](https://radiofreqs.space/wiki/?page=ssh) uses parts of [the tilde.club ssh primer](https://github.com/tildeclub/tilde.club/blob/master/docs/ssh.md) and [the tilde.town ssh guide](https://tilde.town/wiki/ssh.html).
[back](/)