mirror of https://git.envs.net/envs/help.git
try to fix markdown style for ssh pages
This commit is contained in:
parent
1a4679e967
commit
96c9f85870
|
@ -65,8 +65,10 @@ or for the secondary ip:<br />
|
|||
<br />
|
||||
***if you have a slightly shaky connection then you can also use `mosh`.***
|
||||
|
||||
- [ssh windows usage](inc/ssh-windows.md)
|
||||
- [ssh mac usage](inc/ssh-mac.md)
|
||||
---
|
||||
|
||||
> [ssh windows usage](inc/ssh-windows.md)
|
||||
> [ssh mac usage](inc/ssh-mac.md)
|
||||
|
||||
### create a ssh-key
|
||||
make sure you have a `~/.ssh directory`<br />
|
||||
|
|
|
@ -2,15 +2,15 @@
|
|||
|
||||
## generating your keypair
|
||||
|
||||
1. open terminal (it's in `/Applications/Utilities`)
|
||||
* open terminal (it's in `/Applications/Utilities`)
|
||||
|
||||
2. create your .ssh directory:
|
||||
* create your .ssh directory:
|
||||
|
||||
```bash
|
||||
mkdir -m 700 ~/.ssh
|
||||
```
|
||||
|
||||
3. create your keys:
|
||||
* create your keys:
|
||||
|
||||
for dd25519 keys:
|
||||
|
||||
|
@ -24,19 +24,19 @@ for rsa keys:
|
|||
ssh-keygen -t rsa -b 4096
|
||||
```
|
||||
|
||||
4. if you press enter to accept the defaults, your public and private key will
|
||||
* 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 (or
|
||||
`~/.ssh/id_rsa.pub` and `~/.ssh/id_rsa` if you chose rsa type)
|
||||
|
||||
5. `cat ~/.ssh/id_ed25519.pub` (or `cat ~/.ssh/id_rsa.pub` for rsa)
|
||||
* `cat ~/.ssh/id_ed25519.pub` (or `cat ~/.ssh/id_rsa.pub` for rsa)
|
||||
|
||||
6. copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
* copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
|
||||
## using your keypair
|
||||
|
||||
7. open terminal (it's in `/Applications/Utilities`)
|
||||
* open terminal (it's in `/Applications/Utilities`)
|
||||
|
||||
8. `ssh` to envs.net:
|
||||
* `ssh` to envs.net:
|
||||
|
||||
```bash
|
||||
ssh username@envs.net
|
||||
|
|
|
@ -6,15 +6,15 @@ windows 10 1809 or later has openssh built in, so you no longer need to install
|
|||
|
||||
### generating your keypair
|
||||
|
||||
1. open your new shell
|
||||
* open your new shell
|
||||
|
||||
2. create your .ssh directory
|
||||
* create your .ssh directory
|
||||
|
||||
```powershell
|
||||
mkdir .ssh
|
||||
```
|
||||
|
||||
3. create your keypair
|
||||
* create your keypair
|
||||
|
||||
for ed25519 keys:
|
||||
|
||||
|
@ -28,19 +28,19 @@ for rsa keys:
|
|||
ssh-keygen -t rsa -b 4096
|
||||
```
|
||||
|
||||
4. if you press enter to accept the defaults, your public and private key will
|
||||
* if you press enter to accept the defaults, your public and private key will
|
||||
be located at `%UserProfile%\.ssh\id_ed25519.pub` and `%UserProfile%\.ssh\id_ed25519` respectively (or
|
||||
`%UserProfile%\.ssh\id_rsa.pub` and `%UserProfile$\.ssh\id_rsa` if you chose rsa type)
|
||||
|
||||
5. `type %UserProfile%\.ssh\id_ed25519.pub` (or `type %UserProfile%\.ssh\id_rsa.pub` for rsa)
|
||||
* `type %UserProfile%\.ssh\id_ed25519.pub` (or `type %UserProfile%\.ssh\id_rsa.pub` for rsa)
|
||||
|
||||
6. copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
* copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
|
||||
### using your keypair
|
||||
|
||||
7. open powershell (right click start button and select "windows powershell")
|
||||
* open powershell (right click start button and select "windows powershell")
|
||||
|
||||
8. `ssh` to envs.net:
|
||||
* `ssh` to envs.net:
|
||||
|
||||
```bash
|
||||
ssh username@envs.net
|
||||
|
@ -56,15 +56,15 @@ older versions of windows unfortunately do not come with openssh, and you will n
|
|||
- [msys2](http://www.msys2.org/)
|
||||
- [git bash](https://git-scm.com)
|
||||
|
||||
1. open your new shell
|
||||
* open your new shell
|
||||
|
||||
2. create your .ssh directory
|
||||
* create your .ssh directory
|
||||
|
||||
```bash
|
||||
mkdir .ssh
|
||||
```
|
||||
|
||||
3. create your keypair
|
||||
* create your keypair
|
||||
|
||||
for ed25519 keys:
|
||||
|
||||
|
@ -78,19 +78,19 @@ for rsa keys:
|
|||
ssh-keygen -t rsa -b 4096
|
||||
```
|
||||
|
||||
4. if you press enter to accept the defaults, your public and private key will
|
||||
* 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 (or
|
||||
`~/.ssh/id_rsa.pub` and `~/.ssh/id_rsa` if you chose rsa type)
|
||||
|
||||
5. `cat ~/.ssh/id_ed25519.pub` (or `cat ~/.ssh/id_rsa.pub` for rsa)
|
||||
* `cat ~/.ssh/id_ed25519.pub` (or `cat ~/.ssh/id_rsa.pub` for rsa)
|
||||
|
||||
6. copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
* copy the output of the last command and paste it in the sshkey field on the signup form.
|
||||
|
||||
### using your keypair
|
||||
|
||||
7. open terminal (location will vary depending on your choice)
|
||||
* open terminal (location will vary depending on your choice)
|
||||
|
||||
8. `ssh` to envs.net:
|
||||
* `ssh` to envs.net:
|
||||
|
||||
```bash
|
||||
ssh username@envs.net
|
||||
|
|
Loading…
Reference in New Issue