I just logged in without a password? Not sure what changed.<br><br>Still can't log in to NX though.<br><br><div><span class="gmail_quote">On 06/07/07, <b class="gmail_sendername">Krsnendu dasa</b> <<a href="mailto:krsnendu108@gmail.com">
krsnendu108@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have passwordless access from K12LTSP at school to my ubuntu box at home. No problem.
<br>But I still can get passwordless access from home to school I have followed all the advice given and it still doesn't work????<br>
I have 2 k12ltsp servers in parallel, perhaps that has something to do with it?<br><br>Anyway it is not essential.<br><br>It seems in the process I have broken my nx private key settings.  At present I can NX log into the secondary K12LTSP server and can access my /home directory, but I don't have root access to the file system on the main box from there. I can't log in to the main server as root or as myself. It says it is using public key authentication. This is the message that usually comes if you try to connect without importing the private key. The key on the client and the server seem to match.
<br><br>What is the process for regenerating the keys? Any other suggestions for how to fix this problem?<div><span class="e" id="q_113981c7e5902cf5_1"><br><br><div><span class="gmail_quote">On 02/07/07, <b class="gmail_sendername">
Micha Silver</b> <<a href="mailto:micha@arava.co.il" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
micha@arava.co.il</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Seth Hasani wrote:<br><br>> On 6/15/07, Krsnendu dasa <
<a href="mailto:krsnendu108@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">krsnendu108@gmail.com</a>> wrote:<br>>> I have run ssh-keygen on my home Ubuntu computer.<br>>> Then I pasted the contents of id_rsa.pub into ~/.ssh/authorized_keys
<br>
>> on the K12LTSP server.<br>>><br>>> When I ssh in it still prompts me for my password.<br>><br>> Makes sense because your client doesnt have the server's key but your<br>> server surely does have the client's key. The client needs the
<br>> server's key to connect passwordless. (and all of that permissions<br>> stuff given in this thread has to be in place as well.)<br>><br>I believe this is incorrect. You never need to create a key pair on a
<br>server, only on the client computer that needs to connect to the server.<br>>> What else do have have to do so I don't have to enter my password<br>>> every time I ssh in?<br>><br>1- On your client computer create a key pair using: ssh-keygen -t dsa.
<br>Do *not* enter a passphrase.<br>2- Copy the contents of the file ~/.ssh/id_dsa.pub from your client<br>computer (public half of the key) into the file ~/.ssh/authorized_keys<br>on the server. You can do this easily with scp. Or open a second
<br>terminal and ssh (with password for now) into the server, then<br>copy/paste from the local file to the server using the mouse.<br>3- Make sure permissions are correct. On the server<br>~.ssh/authorized_keys must be read only for the user, 
i.e. chmod 0600<br>~/.ssh/authorized_keys.<br>That should do it.<br><br>Regards,<br>Micha<br><br>--<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Arava Development Co, Sapir, Israel<br>tel: +972(8)-6592270<br>cell: +972(52)-3665918
<br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">K12OSN@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.redhat.com/mailman/listinfo/k12osn
</a><br>For more info see <<a href="http://www.k12os.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.k12os.org</a>><br></blockquote></div><br>
</span></div></blockquote></div><br>