how to do ssh for windows users added :D + portalwise fevicon added
[myslice.git] / portal / templates / slice-tab-experiment.html
index 4d58fe5..29b7baf 100644 (file)
@@ -8,14 +8,23 @@
                PlanetLab Europe resources are accessible directly via SSH. Your SSH public key is deployed automatically
                on the reserved nodes. To access your slice on a resource just type the following command:
        </p>
+       {%if ple_resources%}
        <p class="command">
-               $ ssh converted_slice_name@planetlab-resource.hostname.com
-       </p>
-       <p>You need to convert your typical slicename into a specific format in order to do SSH. An example below will demonstrate the conversion:</p>
-       <p class="command">
-               Typical slice_name = onelab.upmc.mytestslice<br>
-               converted_slice_name = onelab8upmc_mytestslice
-       </p>
+       {%for resource in ple_resources %}
+               $ ssh {{ple_slicename}}@{{resource}}<br>
+       {%endfor%}
+       </p>
+        <h4>Windows users</h4>
+        <p>Use <a href="http://www.putty.org/" target="_blank">SSH client.</a></p>
+       {%else%}
+               <p><b>NOTE:</b> You did not reserve any PLE resources yet. Once reserved, you will get the actual SSH command. A specimen command is given below:</p>
+               <p class="command">
+               $ ssh {{ple_slicename}}@planetlab-resource.hostname.com<br>
+               </p>
+       {%endif%}
+       <h4>Windows users</h4>
+       <p>Use <a href="http://www.putty.org/" target="_blank">SSH client.</a></p>
+       <p><strong>NOTE:</strong> Your original slicename <b>{{slicename}}</b> has been converted to PlanetLab specific format <b>{{ple_slicename}}</b> in order to do SSH.</p>
        <p>Please note that the first '.' is replaced by number 8 and the rest of the dot/s are replaced by underscore/s.</p>
        <p>
                Be aware that after you reserve a PlanetLab Europe resource your slice will be deployed with a delay of about 15 minutes, 
                the following command:
        </p>
        <p class="command">
-               ssh onelab_username@fit3-dev.inrialpes.fr
+               ssh {{username}}@fit3-dev.inrialpes.fr
        </p>
-       
+       <h4>Windows users</h4>
+       <p>Use <a href="http://www.putty.org/" target="_blank">SSH client.</a></p>
+
        <h3>NITOS</h3>
        
        <p>
         The NITOS server address is nitlab.inf.uth.gr, so to connect to the NITOS server:
        </p>
        <p class="command">
-       $ ssh your_slice_name@nitlab.inf.uth.gr
+       $ ssh {{slicename}}@nitlab.inf.uth.gr
        </p>
-       
+        <h4>Windows users</h4>
+        <p>Use <a href="http://www.putty.org/" target="_blank">SSH client.</a></p>
+
        <p>
        <!-- In order to connect to NITOS server he has to upload his public key on the server. 
        For now we do it this way: http://nitlab.inf.uth.gr/NITlab/index.php/your-ssh-keys.