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>----<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">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">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>