Have you tried puttygen? (same place you get putty)<div><br></div><div>It&#39;ll load or generate a putty keypair.When you have a keypair loaded, it shows you the exact string you will paste into authorized_keys on the server.</div>
<div><br></div><div>Sean<br><br><div class="gmail_quote">On Sun, May 2, 2010 at 10:24 PM, Kelly Leveille <span dir="ltr">&lt;<a href="mailto:kel@kelweb.ca">kel@kelweb.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Rob,<br><br>Is the Ubuntu server &quot;rejecting your key&quot; during the SSH login session? Are there any logs available from either WinSCP or from the SSH server? I think SSHD can provide some verbose real-time logging which might detail the error. Are trying to login as root when testing the keyed &amp; password based logins?<br>


<br>Sorry that&#39;s all questions &amp; no answers but maybe some part of it will point you in the right direction.<br><br>Kelly  <br><br>----<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Sun, May 2, 2010 at 4:17 PM, Robert Dyck <span dir="ltr">&lt;<a href="mailto:rbdyck2@shaw.ca" target="_blank">rbdyck2@shaw.ca</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">I am also trying to set up ssh. I installed OpenSSH on Ubuntu server, and<br>
downloaded WinSCP for my Windows computer. Both machines are in my home<br>
office right now, but the server will be relocated to a business office. I<br>
will continue to administer the server so want access from my home office. I<br>
need the server to be secure, so I want to use key authentication. My client<br>
machine is Windows so I can&#39;t run ssh-copy-id, so I just copied the .pub<br>
file to the server then copied it to authorized_keys. It&#39;s rejecting my key.<br>
I have passwords enabled for testing, but want to disable passwords when I<br>
actually connect through the internet. I tried to have WinSCP generate the<br>
keys and copy the .pub file to the server, and I generated keys on the<br>
server and copied the private key to my Windows desktop. WinSCP requires<br>
&quot;importing&quot; the private key, it adds some of it&#39;s own stuff such as the<br>
client&#39;s MAC address. Either way the server just rejects the key.<br>
<br>
I have ensured PubkeyAuthentication is yes, AuthoriedKeysFile is<br>
uncommented, and issued the ssh restart command after each change to the<br>
server&#39;s config file.<br>
<br>
What am I doing wrong?<br>
<br>
Rob Dyck<br>
<br>
<br>
<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sean Walberg &lt;<a href="mailto:sean@ertw.com">sean@ertw.com</a>&gt;    <a href="http://ertw.com/">http://ertw.com/</a><br>
</div>