<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic sshconnectivity script does not work with password containing &amp;quot; in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829137#M1301</link>
    <description>Thank you for your suggetion Tim. I apologise for the lack of context. What I am trying to accomplish is to install Intel Cluster Studio 2011 on my small linux cluster containing 16 nodes. In Intel's installation instructions, I am told to run the script "sshconnectivity.exp" as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]./sshconnectivity.exp machines.LINUX[/bash]&lt;/PRE&gt; &lt;BR /&gt;where the "machines.LINUX" file contains the names of each node, as reported by the "hostname" command. According to the install instructions, this is what the script does:&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The
script sshconnectivity.exp will call the appropriate secure shell utilities to
generate a private key and a public key for each node of the cluster.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;The first thing the script does is prompt for your user password twice. It asks:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]Enter your user password:

Re-enter your user password:[/bash]&lt;/PRE&gt; &lt;BR /&gt;My password contains the square bracket character [. After entering it twice, the script generates an error telling me the entries do not match. This is the output:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]Enter your user password: **********
Re-enter your user password: **********
spawn /bin/sh
Error - The two entries for the cluster password do not match.[/bash]&lt;/PRE&gt; &lt;BR /&gt;Through trial and error, and some luck, I discovered that the problem is the square bracket. If I enter the single character [ as my password, I still get the error. If I enter something else, like {, I don't get an error (but then obviously the script fails at logging into the nodes).  &lt;BR /&gt;&lt;BR /&gt;I am not sure how to implement your suggestion, as anything I type will be interpreted as being part of my password. &lt;BR /&gt;</description>
    <pubDate>Mon, 19 Sep 2011 16:51:13 GMT</pubDate>
    <dc:creator>Alexis_M_</dc:creator>
    <dc:date>2011-09-19T16:51:13Z</dc:date>
    <item>
      <title>sshconnectivity script does not work with password containing "["</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829135#M1299</link>
      <description>I'm trying to install intel cluster studio. To generate the proper ssh connectivity between the nodes of my cluster, I'm using the sshconnectivity tool, as suggested in the installation instructions. &lt;BR /&gt;&lt;BR /&gt;Why does the script keep telling me that "Error - The two entries for the cluster password do not match."? I've narrowed the problem to the square bracket that is in my password. If I run the script and just use the single character [ as my password, the script says that the entries do not mach. What gives???&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Sep 2011 22:36:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829135#M1299</guid>
      <dc:creator>Alexis_M_</dc:creator>
      <dc:date>2011-09-16T22:36:26Z</dc:date>
    </item>
    <item>
      <title>sshconnectivity script does not work with password containing "</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829136#M1300</link>
      <description>As you haven't given any context, my guess would be that you must escape or quote your password or that charcter within it, so as to stop a shell from performing replacements.</description>
      <pubDate>Sat, 17 Sep 2011 15:06:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829136#M1300</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-09-17T15:06:45Z</dc:date>
    </item>
    <item>
      <title>sshconnectivity script does not work with password containing "</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829137#M1301</link>
      <description>Thank you for your suggetion Tim. I apologise for the lack of context. What I am trying to accomplish is to install Intel Cluster Studio 2011 on my small linux cluster containing 16 nodes. In Intel's installation instructions, I am told to run the script "sshconnectivity.exp" as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]./sshconnectivity.exp machines.LINUX[/bash]&lt;/PRE&gt; &lt;BR /&gt;where the "machines.LINUX" file contains the names of each node, as reported by the "hostname" command. According to the install instructions, this is what the script does:&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The
script sshconnectivity.exp will call the appropriate secure shell utilities to
generate a private key and a public key for each node of the cluster.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;The first thing the script does is prompt for your user password twice. It asks:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]Enter your user password:

Re-enter your user password:[/bash]&lt;/PRE&gt; &lt;BR /&gt;My password contains the square bracket character [. After entering it twice, the script generates an error telling me the entries do not match. This is the output:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]Enter your user password: **********
Re-enter your user password: **********
spawn /bin/sh
Error - The two entries for the cluster password do not match.[/bash]&lt;/PRE&gt; &lt;BR /&gt;Through trial and error, and some luck, I discovered that the problem is the square bracket. If I enter the single character [ as my password, I still get the error. If I enter something else, like {, I don't get an error (but then obviously the script fails at logging into the nodes).  &lt;BR /&gt;&lt;BR /&gt;I am not sure how to implement your suggestion, as anything I type will be interpreted as being part of my password. &lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:51:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829137#M1301</guid>
      <dc:creator>Alexis_M_</dc:creator>
      <dc:date>2011-09-19T16:51:13Z</dc:date>
    </item>
    <item>
      <title>sshconnectivity script does not work with password containing "</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829138#M1302</link>
      <description>I've looked through the sshconnectivity script, written in the TCL language I believe.  It stores both password entries in the strings cluster_password and cluster_password2. It then compares both these strings on line 189:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]    188 # Do the two password strings match?
    189 if {[string match $cluster_password $cluster_password2]} {
[/bash]&lt;/PRE&gt; &lt;BR /&gt;I've tried hardcoding the passwords (which requires a backslash before special characters---"[" will be entered as "\["), and this still does not work. I outputted the strings cluster_password and cluster_password2 by inserting a couple of send_error statements after line 436:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]    } else {
        send_error "Error - The two entries for the cluster password do not match.n"
        send_error "$cluster_passwordn"
        send_error "$cluster_password2n"
        exit
    }
[/bash]&lt;/PRE&gt; The passwords do match. They match when entered from terminal, or hardcoded, so there is a bug with the string comparison. I don't know how to change it so that it ignores special characters in the $cluster_password and $cluster_password2 strings. &lt;BR /&gt;&lt;BR /&gt;As a workaround, I'll just comment out the if-else statement.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2011 19:34:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829138#M1302</guid>
      <dc:creator>Alexis_M_</dc:creator>
      <dc:date>2011-09-19T19:34:30Z</dc:date>
    </item>
    <item>
      <title>sshconnectivity script does not work with password containing "</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829139#M1303</link>
      <description>Well this is quite dissapointing. The sshconnectivity script provided by intel does not work. Not only did it not ensure that the known_hosts file was appropriately updated on each node, it also failed to make each node be able to log into each other node via ssh. &lt;BR /&gt;&lt;BR /&gt;For example, I can go from node0 --&amp;gt; to node8 without a password. However, I can't go from node8 --&amp;gt; node15. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Sep 2011 21:10:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/sshconnectivity-script-does-not-work-with-password-containing/m-p/829139#M1303</guid>
      <dc:creator>alexisgm</dc:creator>
      <dc:date>2011-09-19T21:10:08Z</dc:date>
    </item>
  </channel>
</rss>

