Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You may be running into a bug in Cygwin's group permissions. <a href="http://www.vineetgupta.com/2012/12/cygwin-permissions-bug-on-windows-8/" rel="nofollow">Vineet Gupta gives a workaround in his blog.</a> The problem comes from the very strict permissions expected by <code>ssh</code> around the keys, and the solution is to set the permission on the ssh key properly (to 600, <code>rw</code> by owner only). Cygwin seems to need the group to be added manually.</p> <p>Updating the steps to get the dotCloud CLI installed, including setting the permissions, leads to:</p> <ol> <li>Start the <a href="http://cygwin.com/setup-x86.exe" rel="nofollow">Cygwin Setup</a>.</li> <li>Select default choices until you reach the package selection dialog.</li> <li><p>Enable the following packages:</p> <ul> <li>net/openssh</li> <li>net/rsync</li> <li>devel/git</li> <li>devel/mercurial</li> <li>python/python (make sure it’s at least 2.6!)</li> <li>web/wget</li> </ul></li> <li><p>After the installation, you should have a Cygwin icon on your desktop. Start it: you will get a command-line shell.</p></li> <li><p>Download <code>easy_install</code></p> <pre><code>wget http://peak.telecommunity.com/dist/ez_setup.py </code></pre></li> <li><p>Install <code>easy_install</code></p> <pre><code>python ez_setup.py </code></pre></li> <li><p>You now have <code>easy_install</code>; let’s use it to install <code>pip</code>:</p> <pre><code>easy_install pip </code></pre></li> <li><p>Now install <code>dotcloud</code> (the CLI)</p> <pre><code>pip install dotcloud </code></pre></li> <li><p>Set up the CLI with your credentials. This will also download the ssh key.</p> <pre><code>dotcloud setup </code></pre></li> <li><p><strong>New Step</strong> Update the permissions on your dotCloud key:</p> <pre><code>chgrp Users ~/.dotcloud_cli/dotcloud.key chmod 600 ~/.dotcloud_cli/dotcloud.key </code></pre></li> </ol> <p>Now you should be able to <code>dotcloud push</code> If you have <a href="http://docs.dotcloud.com/guides/accounts/" rel="nofollow">multiple dotCloud accounts</a>, then you will need to repeat this process for each account, since each account has its own key. Also note that you shouldn't have to set these permissions manually, but it seems like the group ownership is sometimes the wrong default in Cygwin. Linux and OSX don't seem to show this problem, though the permissions must be 600 for all OSes, so it is worth checking.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload