85e9e8c0cf
When setting up a remote on a ssh server, prompt for a password inside the webapp, rather than relying on ssh's own password prompting in the terminal the webapp was started from, or ssh-askpass. Avoids double prompting for the ssh password (and triple-prompting on windows for rsync.net), since the entered password is cached for 10 minutes and this cached password is reused when setting up the repository, after the initial probe. When the user has an existing ssh key set up, they can choose to use it, rather than entering a password. The webapp used to probe for this case automatically, so this is a little harder, but it's an advanced user thing. Note that this commit is known to break enabling existing rsync repositories. It hs not been tested with gcrypt repositories. It's not been successfully tested yet on Windows. This commit was sponsored by Ralph Mayer.
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
<div .col-sm-9>
|
|
<div .content-box>
|
|
<h2>
|
|
Adding a Rsync.net repository
|
|
<p>
|
|
<a href="http://rsync.net/">
|
|
Rsync.net #
|
|
is a well-respected cloud storage provider. Its rsync repositories are #
|
|
supported very well by git-annex. #
|
|
|
|
<p>
|
|
They have committed to support git-annex and offer a special
|
|
discounted rate for git-annex users.
|
|
|
|
<a href="http://www.rsync.net/products/git-annex-pricing.html">
|
|
pricing details
|
|
<p>
|
|
$case status
|
|
$of UnusableServer msg
|
|
<div .alert .alert-danger>
|
|
<span .glyphicon .glyphicon-warning-sign>
|
|
\ #{msg}
|
|
$of _
|
|
<div>
|
|
Your data will be encrypted before it is sent to Rsync.net.
|
|
<p>
|
|
<form method="post" .form-horizontal enctype=#{enctype}>
|
|
<fieldset>
|
|
^{form}
|
|
^{webAppFormAuthToken}
|
|
<div .form-group>
|
|
<div .col-sm-10 .col-sm-offset-2>
|
|
<button .btn .btn-primary type=submit onclick="$('#setupmodal').modal('show');">
|
|
Use this rsync.net repository
|
|
<div .modal .fade #setupmodal>
|
|
<div .modal-dialog>
|
|
<div .modal-content>
|
|
<div .modal-header>
|
|
<h3>
|
|
Checking access to rsync.net ...
|
|
<div .modal-body>
|
|
<p>
|
|
This could take a minute.
|