<br><br><div class="gmail_quote">On Mon, Feb 25, 2008 at 5:49 PM, Bulkan &lt;<a href="mailto:bulkan@gmail.com">bulkan@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="gmail_quote"><div><br>I&#39;ve tried running the above script in Ubuntu but it also fails with the same Exception. I forgot to mention that i&#39;ve been testing this script on Windows/Ubuntu that is inside a Virtual Machine (Parallels) can this be the problem ?<br>

&nbsp;<br><br></div></div></blockquote><div><br>Being in a VM shouldn&#39;t matter.<br><br>Are you certain that&nbsp; &lt;server&gt; is listed in your known_hosts file?<br>You should be able to get the key using &#39;ssh-keygen -F &lt;server&gt;&#39;<br>
<br>You can also try to connect with ssh and strict keychecking:<br>ssh -o&#39;StrictHostKeyChecking=yes&quot; &lt;server&gt;<br><br>-jim<br></div></div>