aboutsummaryrefslogtreecommitdiff
path: root/templates/configurators/ssh/add.hamlet
blob: c2336a1690cd33e26029c5d13d5e20d953d195cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<div .span9 .hero-unit>
  <h2>
    Adding a remote server using ssh
  <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 #
    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 onclick="$('#testmodal').modal('show');">
            Check this server
<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.