allow making encrypted rsync special remotes

wow, that was easy!
This commit is contained in:
Joey Hess 2012-09-02 17:32:24 -04:00
parent 5228ba9314
commit 014974a7da
6 changed files with 105 additions and 64 deletions

View file

@ -1,11 +1,6 @@
<div .span9 .hero-unit>
<h2>
Adding a remote server using ssh
<p>
Clone this repository to a ssh server. Your data will be #
uploaded to the server. If you set up other devices to use the same #
server, they will all be kept in sync, using the server as a central #
hub.
<p>
You can use nearly any server that has ssh and rsync. For example, you #
could use a <a href="http://linode.com/">Linode</a> or another VPS, or #

View file

@ -5,9 +5,23 @@
<div .span8>
<p>
The server has been verified to be usable.
$if not (rsyncOnly sshdata)
<p>
You have two options for how to use the server.
<p>
<a .btn .btn-primary href="@{MakeSshGitR sshdata}" onclick="$('#setupmodal').modal('show');">
Use a git repository on the server
<br>
All your data will be uploaded to the server. If you set up other #
devices to use the same server, they will all be kept in sync, #
using the server as a central hub. #
<p>
<a .btn .btn-primary href="@{MakeSshR sshdata}" onclick="$('#setupmodal').modal('show');">
Clone this repository to the remote server
<a .btn .btn-primary href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
Use an encrypted rsync repository on the server
<br>
The contents of your files will be stored, fully encrypted, on the #
server. The server will not store other information about your #
git repository.
<div .span4>
$if haspubkey
<div .alert .alert-info>

View file

@ -6,5 +6,5 @@
<p>
Transcript: #{msg}
<p>
<a .btn .btn-primary href="@{MakeSshR sshdata}">
<a .btn .btn-primary href="#">
Retry