<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SSH and SCP in Windows-Hypervisor]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">I am learning development with QT and have started my first project. I am running a Hypervisor based Windows OS with QT5 on it. What I want to do is when I click a button, I want to copy my linux script over to the linux side with its ip 192.168.0.200 and then ssh into root and execute the script.</p>
<p dir="auto">Now, the problems that I am facing is, I have my GUI and application set up, but when I try to run the SCP and SSH command using system() it gives me the following error:</p>
<p dir="auto">FOR SSH: I am ruuning system("PATH=%some path that I want to set% &amp;&amp; ssh -T -o StrictHostKeyChecking=no <a href="mailto:root@192.168.0.200" target="_blank" rel="noopener noreferrer nofollow ugc">root@192.168.0.200</a>");<br />
Its giving me: Warning: Permanently added '192.168.0.200' (RSA) to the list of known hosts<br />
Permission denied, please try again<br />
Permission denied, please try again<br />
permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)</p>
<p dir="auto">FOR SCP: I am running system("PATH=%some path that I want to set% &amp;&amp; scp -o StrictHostKeyChecking=no cygdrive/c/somepath <a href="mailto:root@192.168.0.200" target="_blank" rel="noopener noreferrer nofollow ugc">root@192.168.0.200</a>:/tmp/");<br />
Its giving me: Could not create directory '/home/user/.ssh'<br />
Failed to add the host to the list of known hosts<br />
permission denied, please try again<br />
permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)<br />
lost connection</p>
<p dir="auto">I have been trying to find a solution since long. Would be really glad if someone could help me out.</p>
<p dir="auto">Thank you in advance.</p>
<p dir="auto">--<br />
Akash</p>
]]></description><link>https://forum.qt.io/topic/52091/ssh-and-scp-in-windows-hypervisor</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 17:17:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/52091.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Mar 2015 22:48:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SSH and SCP in Windows-Hypervisor on Wed, 11 Mar 2015 20:55:56 GMT]]></title><description><![CDATA[<p dir="auto">Can you share your code ?</p>
]]></description><link>https://forum.qt.io/post/264892</link><guid isPermaLink="true">https://forum.qt.io/post/264892</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 11 Mar 2015 20:55:56 GMT</pubDate></item><item><title><![CDATA[Reply to SSH and SCP in Windows-Hypervisor on Wed, 11 Mar 2015 15:46:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">So there has been some development from yesterday. The errors still exist but comes up in the IDE console. When I go to build and do qmake and run the .exe file, it opens up my app, cmd and prompts me for password. So it works that way, which is weird.</p>
<p dir="auto">I wouldn't care about the problem in IDE console if what I mentioned above means that I am good to release my .exe file. Please let me know if I am missing something, cause if something fails, it should fail on the .exe too right?</p>
<p dir="auto">Thanks in advance.</p>
<p dir="auto">--<br />
Akash</p>
]]></description><link>https://forum.qt.io/post/264829</link><guid isPermaLink="true">https://forum.qt.io/post/264829</guid><dc:creator><![CDATA[akashmetawala]]></dc:creator><pubDate>Wed, 11 Mar 2015 15:46:23 GMT</pubDate></item><item><title><![CDATA[Reply to SSH and SCP in Windows-Hypervisor on Tue, 10 Mar 2015 23:41:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Not really a Qt topic, you should first ensure that your ssh client and server are properly configured</p>
]]></description><link>https://forum.qt.io/post/264679</link><guid isPermaLink="true">https://forum.qt.io/post/264679</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 10 Mar 2015 23:41:53 GMT</pubDate></item></channel></rss>