title: Unable to install Search Guard plugin for Elasticsearch-5.x
body: <p>Due to the restrictions, I was not allowed to install any packages from internet. So, This command is not useful for me inorder to install <a href="https://github.com/floragunncom/search-guard" rel="nofollow noreferrer">search-guard</a>.</p>
  
  <pre><code> bin/elasticsearch-plugin install -b com.floragunn:search-guard-ssl:&lt;version&gt;
  </code></pre>
  
  <p>However, I am able to install Search Guard successfully on a different network by running the above command. </p>
  
  <p>Because of this reason, I tried installing Search Guard from tar.gz or zip file by the below command as per <a href="https://github.com/floragunncom/search-guard-ssl-docs/blob/master/installation.md" rel="nofollow noreferrer">documentation</a>. </p>
  
  <pre><code> /usr/share/elasticsearch# bin/elasticsearch-plugin install     file:///home/xxxx/xxxx/search-guard-5-5.2.0-10-sgadmin-standalone.zip 
  </code></pre>
  
  <p>This one is failing with the below error.</p>
  
  <pre><code> -&gt; Downloading file:///home/xxx/xxxx/search-guard-5-5.2.0-10-  sgadmin-standalone.zip
   [=================================================] 100%   
   ERROR: `elasticsearch` directory is missing in the plugin zip
  </code></pre>
  
  <p>I downloaded zip/tar.gz from <a href="https://repo1.maven.org/maven2/com/floragunn/search-guard-5/5.2.0-10/" rel="nofollow noreferrer">this</a> maven repository of search gaurd.</p>
  
  <p>Is anyone also facing the same issue. If not, kindly help in solving this one.</p>