2014-04-21 15:44:10 +00:00
|
|
|
<div .col-sm-9>
|
2014-05-02 14:19:17 +00:00
|
|
|
<div .content-box>
|
2014-04-21 15:44:10 +00:00
|
|
|
<h2>
|
|
|
|
Ready to add remote server
|
|
|
|
<div .row>
|
|
|
|
<div .col-sm-9>
|
|
|
|
$if not (hasCapability sshdata GitAnnexShellCapable)
|
|
|
|
<p>
|
|
|
|
<span .glyphicon .glyphicon-warning-sign>
|
|
|
|
\ The server #{sshHostName sshdata} can be used as is, but #
|
|
|
|
installing #
|
|
|
|
$if not (hasCapability sshdata GitCapable)
|
|
|
|
git and git-annex #
|
|
|
|
$else
|
|
|
|
git-annex #
|
|
|
|
on it would make it work better, and provide more options below. #
|
|
|
|
<p>
|
|
|
|
If you're able to install software on the server, do so and click
|
|
|
|
<a .btn .btn-default href="@{RetrySshR sshdata}" onclick="$('#testmodal').modal('show');">
|
|
|
|
Retry
|
|
|
|
$else
|
|
|
|
<p>
|
|
|
|
The server #{sshHostName sshdata} has been verified to be usable. #
|
|
|
|
Depending on whether you trust this server, you can choose between #
|
|
|
|
storing your data on it encrypted, or unencrypted.
|
|
|
|
<h3>
|
|
|
|
Unencrypted repository
|
|
|
|
<p>
|
|
|
|
All your data will be uploaded to the server, including a clone of #
|
|
|
|
the git repository. This is a good choice if you want to set up #
|
|
|
|
other devices to use the same server, or share the repository with #
|
|
|
|
others.
|
|
|
|
<p>
|
|
|
|
<a .btn .btn-default href="@{MakeSshGitR sshdata}" onclick="$('#setupmodal').modal('show');">
|
|
|
|
Make an unencrypted git repository on the server
|
|
|
|
<p style="text-align: center">
|
|
|
|
-or-
|
2013-09-29 18:39:10 +00:00
|
|
|
<h3>
|
2014-04-21 15:44:10 +00:00
|
|
|
Simple shared encryption
|
2013-09-29 18:39:10 +00:00
|
|
|
<p>
|
2014-04-21 15:44:10 +00:00
|
|
|
This allows everyone who has a clone of this repository to #
|
|
|
|
decrypt the files stored on #{sshHostName sshdata}. That makes #
|
|
|
|
it good for sharing. And it's easy to set up and use.
|
2013-09-29 18:39:10 +00:00
|
|
|
<p>
|
2014-04-21 15:44:10 +00:00
|
|
|
<a .btn .btn-default href="@{MakeSshRsyncR sshdata}" onclick="$('#setupmodal').modal('show');">
|
|
|
|
<span .glyphicon .glyphicon-lock>
|
|
|
|
\ Use shared encryption
|
|
|
|
$if hasCapability sshdata GitCapable
|
|
|
|
<p style="text-align: center">
|
|
|
|
-or-
|
|
|
|
<h3>
|
|
|
|
Encrypt with GnuPG key
|
|
|
|
<p>
|
|
|
|
This stores an encrypted clone of your repository on #
|
|
|
|
#{sshHostName sshdata}, unlike shared encryption which only #
|
|
|
|
stores file contents there. So it's good for backups. But the #
|
|
|
|
encryption will prevent you from sharing the repository with #
|
|
|
|
friends, or easily accessing its contents on another computer.
|
|
|
|
<p>
|
|
|
|
$forall (keyid, name) <- secretkeys
|
|
|
|
<p>
|
|
|
|
<a .btn .btn-default href="@{MakeSshGCryptR sshdata (RepoKey keyid)}" onclick="$('#setupmodal').modal('show');" >
|
|
|
|
<span .glyphicon .glyphicon-lock>
|
|
|
|
\ Encrypt repository #
|
|
|
|
to ^{gpgKeyDisplay keyid (Just name)}
|
|
|
|
<p>
|
|
|
|
<a .btn href="@{MakeSshGCryptR sshdata NoRepoKey}" onclick="$('#genkeymodal').modal('show');">
|
|
|
|
<span .glyphicon .glyphicon-plus-sign>
|
|
|
|
\ Encrypt repository #
|
|
|
|
with a new encryption key
|
2013-03-16 16:58:59 +00:00
|
|
|
^{sshTestModal}
|
2013-10-02 19:54:32 +00:00
|
|
|
^{sshSetupModal sshdata}
|
2013-09-29 18:39:10 +00:00
|
|
|
^{genKeyModal}
|