Changes between Version 8 and Version 9 of flukes_on_windows

Show
Ignore:
Timestamp:
06/24/13 09:10:44 (6 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • flukes_on_windows

    v8 v9  
    1 = Creating SSH keys compatible with PuTTY and ExoGENI = 
     1== Overview == 
     2 
     3Windows poses some challenges for Java applications (like Flukes), primarily from the perspective of specifying paths. In Java properties files, the "\" character, which is used as a path separator in Windows, is treated as an "escape" character (which means that it has special properties for changing the meaning of a single character immediately following it). The resolution to this issue is to use the "/" character for any path specified in a Java properties file on Windows, rather than "\". For example, "C:\Users\Exampleuser" would be written as "C:/Users/Exampleuser" instead. 
     4 
     5Another issue on Windows is a long-standing Java bug with the discovery of the user's home directory; the bug itself is described here: [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4787931]. Flukes provides the convenience of using the Unix convention of specifying a path that is rooted in the user's home directory by beginning the path with "~/". This can cause Flukes to run into this Java bug. If this problem is encountered, it can be worked around by specifying the full path to files, rather than relying on the "~/" convention; for example, "user.keystore=~/.ssl/user.jks" would become "user.keystore=C:/Users/Exampleuser/.ssl/user.jks" 
     6 
     7Most Windows users do not have X11 installed, which creates some difficulty with the "Login to node" menu option. Flukes has a property that is Windows-specific in the .flukes.properties file, "putty.path". This allows specifying the path to the PuTTY ssh client. It is recommended that Windows users download and install this client, using the full installer provided here: [http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html]. Please choose the binary on the line beginning with word "Installer:" 
     8 
     9Key format differences - PuTTY versus OpenSSH. The prevailing OS used on virtual or physical nodes in ExoGENI is Linux, which expects SSH keys in OpenSSH format. PuTTY has its own format, which differs from that of OpenSSH. The solution is to use the PuTTYGen tool included in the PuTTY installation to generate keys for use with ExoGENI. Directions on how to do so are [wiki:flukes_on_windows here.] 
     10 
     11== Creating SSH keys compatible with PuTTY and ExoGENI == 
    212 
    313While most Unix variants use OpenSSH as client and server, the PuTTY ssh client is probably the most prevalent on Windows systems.