Fix a typo, use single backticks for inline code examples
This commit is contained in:
parent
056abdf899
commit
4a91bb669c
|
@ -118,14 +118,14 @@ If it is not already installed by your host, you can do it yourself:
|
||||||
This [process](https://wiki.gentoo.org/wiki/SSH#Passwordless_Authentication) is
|
This [process](https://wiki.gentoo.org/wiki/SSH#Passwordless_Authentication) is
|
||||||
described in several places online. What is different from the typical approach
|
described in several places online. What is different from the typical approach
|
||||||
is to put the restriction to certificate-based authorization in
|
is to put the restriction to certificate-based authorization in
|
||||||
```~/.ssh/authorized_keys```. Then, aunch `rrsync` and supply
|
`~/.ssh/authorized_keys`. Then, launch `rrsync` and supply
|
||||||
it with the folder it shall have read-write access to:
|
it with the folder it shall have read-write access to:
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
command="$HOME/bin/rrsync <folder>",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa <cert>
|
command="$HOME/bin/rrsync <folder>",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa <cert>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
```<folder>``` is the path to your site. E.g., ```~/public_html/you.org/blog-html/```.
|
`<folder>` is the path to your site. E.g., `~/public_html/you.org/blog-html/`.
|
||||||
|
|
||||||
#### Step 3: Rsync (client-side)
|
#### Step 3: Rsync (client-side)
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ rsync -crvz --rsh=ssh -p2222' --delete-after --delete-excluded <folder> <user>
|
||||||
|
|
||||||
Command line parameters are:
|
Command line parameters are:
|
||||||
|
|
||||||
- ````--rsh=ssh -p2222```` — The port for SSH access. It is required if
|
- `--rsh=ssh -p2222` — The port for SSH access. It is required if
|
||||||
your host uses a different port than the default (e.g, HostGator)
|
your host uses a different port than the default (e.g, HostGator)
|
||||||
- `<folder>` — The name of the local output folder (defaults to `_site`)
|
- `<folder>` — The name of the local output folder (defaults to `_site`)
|
||||||
- `<user>` — The username for your hosting account
|
- `<user>` — The username for your hosting account
|
||||||
|
|
Loading…
Reference in New Issue