mirror of https://github.com/tildeclub/site.git
fix commands with backslashes for windows, fix cmd format
This commit is contained in:
parent
f17390d706
commit
69087be669
|
@ -153,17 +153,17 @@ where username is your username (~benharri would use `ssh benharri@tilde.club`)
|
|||
|
||||
2. create your keypair:
|
||||
|
||||
```bash
|
||||
```cmd
|
||||
ssh-keygen -t ed25519 -a 100
|
||||
```
|
||||
|
||||
3. 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.
|
||||
3. 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.
|
||||
|
||||
Note: %USERPROFILE% is a short code that the computer expands to mean c:\users\your_name\, or whatever the relevant path is to your user's main folder.
|
||||
Note: %USERPROFILE% is a short code that the computer expands to mean C:\\Users\\your_name\\, or whatever the relevant path is to your user's main folder.
|
||||
|
||||
Next we will open up the public key so we can copy its contents.
|
||||
|
||||
```bash
|
||||
```cmd
|
||||
notepad %USERPROFILE%\.ssh\id_ed25519.pub
|
||||
```
|
||||
|
||||
|
@ -177,7 +177,7 @@ once an admin approves your signup, you can join the tilde.club
|
|||
|
||||
6. `ssh` to tilde.club:
|
||||
|
||||
```bash
|
||||
```cmd
|
||||
ssh username@tilde.club
|
||||
```
|
||||
|
||||
|
@ -230,9 +230,9 @@ where username is your username (~benharri would use `ssh benharri@tilde.club`)
|
|||
ssh username@tilde.club
|
||||
```
|
||||
|
||||
Note: If you generated your key to the location above (%USERPROFILE%\ssh\...) then you will be able to SSH to your tilde server without having to specify the location of the key. That folder is the default used by SSH and it will be found automatically. If you generated your keys in a different location or moved them, you will need to specify the full path to the private key.
|
||||
Note: If you generated your key to the location above (%USERPROFILE%\\.ssh\\...) then you will be able to SSH to your tilde server without having to specify the location of the key. That folder is the default used by SSH and it will be found automatically. If you generated your keys in a different location or moved them, you will need to specify the full path to the private key.
|
||||
|
||||
```bash
|
||||
```cmd
|
||||
ssh -i c:\path\to\my\private\key username@your.tilde
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue