[K12OSN] how to set up passwordless ssh access

Seth Hasani sepheebear at gmail.com
Mon Jul 2 00:52:00 UTC 2007


On 6/15/07, Krsnendu dasa <krsnendu108 at gmail.com> wrote:
> I have run ssh-keygen on my home Ubuntu computer.
> Then I pasted the contents of id_rsa.pub into ~/.ssh/authorized_keys
> on the K12LTSP server.
>
> When I ssh in it still prompts me for my password.

Makes sense because your client doesnt have the server's key but your
server surely does have the client's key. The client needs the
server's key to connect passwordless. (and all of that permissions
stuff given in this thread has to be in place as well.)

> What else do have have to do so I don't have to enter my password
> every time I ssh in?

In this case it looks like you will have no problems ssh'ing back into
your ubuntu box from your LTSP server without a password, but if you
want to connect to your LTSP server without a password you need to run
ssh-keygen on the LTSP server and import that key to
~/.ssh/authorized_keys your ubuntu box.

Seth




More information about the K12OSN mailing list