git-annex/templates/configurators/addssh.hamlet
2012-09-01 20:37:35 -04:00

39 lines
1.4 KiB
Text

<div .span9 .hero-unit>
<h2>
Adding a remote server using ssh or rsync
<p>
Clone this repository to a ssh or rsync 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 or rsync. For example, you #
could use a <a href="http://linode.com/">Linode</a> or another VPS, or #
an account on a friend's server.
<p>
$case status
$of UnusableServer msg
<div .alert .alert-error>
<i .icon-warning-sign></i> #{msg}
$of _
<i .icon-warning-sign></i> Do keep in mind that all your data #
will be synced to the server, so make sure it has enough available #
disk space and bandwidth, and that you trust it with your data.
<p>
<form .form-horizontal enctype=#{enctype}>
<fieldset>
^{form}
^{authtoken}
<div .form-actions>
<button .btn .btn-primary type=submit :willTest status:onclick="$('#testmodal').modal('show');">
#{buttonText status}
$if willTest status
<div .modal .fade #testmodal>
<div .modal-header>
<h3>
Testing server ...
<div .modal-body>
<p>
Checking ssh connection to the server. This could take a minute.
<p>
You may be prompted for your password to log into the server.