<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><pre>Package: x2goclient-4.0.5.2-2016.09.20-<wbr>setup
Version: x2goclient-4.0.5.2-2016.09.20-<wbr>setup<br><br></pre><pre>Steps to reproduce:<br></pre><pre>1. Install x2goclient-4.0.5.2-2016.09.20-<wbr>setup.exe<br><br>2. Make sure C:\Users\XXXXXXX\.x2go\etc does not exist, or delete it if existed.<br></pre><pre>3. Create a new session to a x2go server.<br></pre><pre>4. Enable share folder and watch the bug report window.<br><br></pre><pre>From the source code:<br><br>9931 void ONMainWindow::startWinServers(<wbr>)<br>9932 {<br>9952         generateHostKey(RSA_KEY_TYPE);<br><br></pre><pre>For Windows, we only generate <span style="color:rgb(255,0,0)">RSA_KEY</span>, but in<br><br>8013 QString ONMainWindow::createRSAKey()<br>8014 {<br>8043 #ifdef Q_OS_WIN<br>8044     rsa.setFileName (<br>8045         wapiShortFileName (<br>8046             homeDir+"\\.x2go\\etc\\ssh_<wbr>host_<span style="color:rgb(255,0,0)">dsa_key</span>.pub" ) );<br>8056     if ( !rsa.open ( QIODevice::ReadOnly | QIODevice::Text ) )<br>8057     {<br><br><br>We check DSA_KEY instead, which of course would not exist.<br></pre></div>
</div>To fix this bug:<br><br>8046   -          homeDir+"\\.x2go\\etc\\ssh_host_dsa_key.pub" ) );<br>8046   +         homeDir+"\\.x2go\\etc\\ssh_host_rsa_key.pub" ) );<br></div>