Convert fenced code blocks to indented ones

because markdown(1) doesn't support them
This commit is contained in:
Hedy Li 2022-02-04 12:35:04 +08:00
parent 155ce94708
commit ff27a5d071
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 15 additions and 37 deletions

52
ssh.md
View File

@ -26,19 +26,15 @@ port 22 is available for ssh.
when your account is approved, you will get an email. to login enter this in the terminal:
```
ssh username@tilde.cafe
```
ssh username@tilde.cafe
tilde.cafe's ssh key fingerprints for your verification:
```
| Name | Fingerprint |
|---------|------------------------------------------------------|
| ECDSA | `SHA256:BTjzIhz+gkmJNVrN7/WOWLqDnnoAzSwDBrw9+QCZdl0` |
| ED25519 | `SHA256:SbNFbk0qeIio4Aveaf29KNYPkEXmeCE38bXZpAWHI0Y` |
| RSA | `SHA256:W0gZf+knAxjfkzppjm93hVzbqk+ZzkO4U56+09HJ3ks` |
```
| Name | Fingerprint |
|---------|------------------------------------------------------|
| ECDSA | `SHA256:BTjzIhz+gkmJNVrN7/WOWLqDnnoAzSwDBrw9+QCZdl0` |
| ED25519 | `SHA256:SbNFbk0qeIio4Aveaf29KNYPkEXmeCE38bXZpAWHI0Y` |
| RSA | `SHA256:W0gZf+knAxjfkzppjm93hVzbqk+ZzkO4U56+09HJ3ks` |
the key fingerprints are in dns as sshfp records as well, which you can check
against by setting `VerifyHostKeyDNS` to `yes` in your `~/.ssh/config`.
@ -123,15 +119,11 @@ pick your fighter: [[mac](#mac)] | [[windows](#windows)] | [[linux](#linux)]
1. create your .ssh directory:
```bash
mkdir -m 700 ~/.ssh
```
mkdir -m 700 ~/.ssh
1. create your keys:
```bash
ssh-keygen -t ed25519 -a 100
```
ssh-keygen -t ed25519 -a 100
1. if you press enter to accept the defaults, your public and private key will
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
@ -151,9 +143,7 @@ signup, you can join tilde.cafe
1. `ssh` to tilde.cafe:
```bash
ssh username@tilde.cafe
```
ssh username@tilde.cafe
where username is your username (~hedy would use `ssh hedy@tilde.cafe`)
@ -188,15 +178,11 @@ want a bash shell with great git support, pick Git Bash:
1. create your .ssh directory
```bash
mkdir .ssh
```
mkdir .ssh
1. create your keypair
```bash
ssh-keygen -t ed25519 -a 100
```
ssh-keygen -t ed25519 -a 100
1. if you press enter to accept the defaults, your public and private key will
be located at `~\.ssh\id_ed25519.pub` and `~\.ssh\id_ed25519` respectively.
@ -214,9 +200,7 @@ signup, you can join the tilde.cafe
1. `ssh` to tilde.cafe:
```bash
ssh username@tilde.cafe
```
ssh username@tilde.cafe
where username is your username (~hedy would use `ssh hedy@tilde.cafe`)
@ -233,15 +217,11 @@ in almost all cases. if they're not, look up how to install ssh for your distro.
1. make sure you have a `~/.ssh` directory
```bash
mkdir -m 700 ~/.ssh
```
mkdir -m 700 ~/.ssh
1. create your keys
```bash
ssh-keygen -t ed25519 -a 100
```
ssh-keygen -t ed25519 -a 100
1. if you press enter to accept the defaults, your public and private key will
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
@ -258,9 +238,7 @@ once [~spider](https://tilde.cafe/~spider/) or another admin approves your signu
1. `ssh` to tilde.cafe:
```bash
ssh username@tilde.cafe
```
ssh username@tilde.cafe
where username is your username (~hedy would use `ssh hedy@tilde.cafe`)