Skip to content

Commit 10c71a1

Browse files
committed
docs: copy
1 parent b8d751c commit 10c71a1

File tree

3 files changed

+41
-14
lines changed

3 files changed

+41
-14
lines changed

main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,15 @@ func main() {
176176
Page: pager("faq.md"),
177177
Tag: "Help",
178178
Children: []*pdocs.Sitemap{
179-
pdocs.AnchorTagSitemap("Permission denied when using SSH"),
179+
pdocs.AnchorTagSitemap("Why can't I login to pico"),
180180
pdocs.AnchorTagSitemap("How do I force the correct pico SSH key"),
181-
pdocs.AnchorTagSitemap("Generating a new SSH key"),
182-
pdocs.AnchorTagSitemap("Why do I provide my username when using SSH"),
181+
pdocs.AnchorTagSitemap("How do I generate an SSH key"),
182+
pdocs.AnchorTagSitemap("How can I setup my ssh-agent"),
183183
pdocs.AnchorTagSitemap("How can I use git to sync my content"),
184184
pdocs.AnchorTagSitemap("Can I create multiple pico accounts"),
185185
pdocs.AnchorTagSitemap("Can I associate multiple SSH keypairs to a single account"),
186186
pdocs.AnchorTagSitemap("Are there any bandwidth limitations"),
187+
pdocs.AnchorTagSitemap("How can I download a copy of all of my content"),
187188
pdocs.AnchorTagSitemap("How can I delete my content"),
188189
pdocs.AnchorTagSitemap("How can I delete my account with my content"),
189190
pdocs.AnchorTagSitemap("I lost my SSH private key how can I recover my account"),

posts/faq.md

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,37 @@ keywords: [pico, faq, question, answer]
55
toc: 1
66
---
77

8-
# Permission denied when using SSH
8+
# Why can't I login to pico?
99

1010
There are a couple reason why this might be happening. We require a public key
11-
for authentication to all of our services, so first make sure you have a valid
12-
SSH keypair.
11+
for authentication to all of our services, so first we need to make sure you
12+
have a valid SSH keypair and it is being sent to our SSH server.
1313

1414
Not sure what type of keys you have? You can check with the following:
1515

1616
```bash
1717
find ~/.ssh/id_*.pub -exec ssh-keygen -l -f {} \;
1818
```
1919

20-
After that we need to determine why our server is rejecting your public key.
21-
What is most helpful is if you run:
20+
After that we need to determine why our server is not receiving your pubkey. To
21+
start, trying debugging with:
2222

2323
```bash
2424
ssh -vvv pico.sh
2525
```
2626

27-
If you cannot figure out what is wrong just by looking at that output, then you
28-
are more than welcome to join [irc](/irc) and send us a paste of the SSH logs.
27+
Here we are looking for the pubkeys that your SSH client is sending to us.
28+
29+
For example, we want to see something like:
30+
31+
```bash
32+
debug1: Will attempt key: /home/myuser/.ssh/id_ed25519 ED25519 SHA256:XXX agent
33+
debug1: Offering public key: /home/myuser/.ssh/id_ed25519 ED25519 SHA256:XXX agent
34+
debug1: Server accepts key: /home/myuser/.ssh/id_ed25519 ED25519 SHA256:XXX agent
35+
```
36+
37+
If you don't see any of these log statement, it probably means you haven't
38+
loaded your SSH keys into your [SSH agent](#how-can-i-setup-my-ssh-agent).
2939

3040
You should also make sure you have the correct file permissions set for your ssh
3141
folder and keys:
@@ -36,6 +46,9 @@ chmod 644 ~/.ssh/id_ed25519.pub
3646
chmod 600 ~/.ssh/id_ed25519
3747
```
3848

49+
If you cannot figure out what is wrong just by looking at that output, then you
50+
are more than welcome to join [irc](/irc) and send us a paste of the SSH logs.
51+
3952
# How do I force the correct pico SSH key?
4053

4154
There are two ways, one is when SSHing to us:
@@ -52,7 +65,7 @@ Host pico.sh pgs.sh prose.sh
5265
IdentityFile ~/.ssh/id_ed25519
5366
```
5467

55-
# Generating a new SSH key
68+
# How do I generate an SSH key?
5669

5770
[Github Reference](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)
5871

@@ -63,6 +76,14 @@ ssh-keygen -t ed25519 -C "[email protected]"
6376
When you're prompted to "Enter a file in which to save the key," press Enter.
6477
This accepts the default file location. At the prompt, type a secure passphrase.
6578

79+
# How can I setup my `ssh-agent`?
80+
81+
your SSH agent typically hosts your SSH keypairs and serves them when
82+
authenticating with an SSH server. So, ensuring your `ssh-agent` is setup
83+
properly is important when connecting to us.
84+
85+
[Github has a great guide on this.](https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent#adding-your-ssh-key-to-the-ssh-agent)
86+
6687
# How can I use `git` to sync my content?
6788

6889
All you need is your private key and
@@ -100,6 +121,11 @@ So until we reach 10TB per month, there are no bandwidth limitations.
100121
Once we regularly reach our monthly allowance, we will have to re-evaluate our
101122
pricing structure.
102123

124+
# How can I download a copy of all of my content?
125+
126+
We will provide users with their data if they request it via
127+
[email](mailto:[email protected]).
128+
103129
# How can I delete my content?
104130

105131
[File uploads](/file-uploads#how-do-i-delete-files)
@@ -115,7 +141,7 @@ ssh pico.sh
115141
# Confirm delete your account
116142
```
117143

118-
# I lost my SSH private key how can I recover my account?
144+
# I lost my SSH private key, how can I recover my account?
119145

120146
After account creation, we **highly** recommend users generate an
121147
[API Token](/api-token) and store that someplace safe. If you lose your SSH

posts/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ To get started, simply use SSH:
1919
ssh pico.sh
2020
```
2121

22-
Getting `Permission denied (publickey)`?
23-
[Read how to fix it here](faq#permission-denied-when-using-ssh).
22+
Getting an error? Read our FAQ,
23+
[why can't I login to pico?](faq#why-cant-i-login-to-pico).
2424

2525
All we need to create an account is your username. This username will be used
2626
for all of your service domains. For example, if your username is `glossy`, we

0 commit comments

Comments
 (0)