[K12OSN] how to set up passwordless ssh access

Dimitri Yioulos dyioulos at firstbhph.com
Sat Jun 16 18:36:58 UTC 2007


On Sat, 16 Jun 2007 14:49:29 +1200, Krsnendu dasa 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.
> 
> What else do have have to do so I don't have to enter my password
> every time I ssh in?
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

Hve you tweaked sshd_config?  There are plenty of how-to's out there, but essentially,
you uncomment the following in the coonfig file:

    RSAAuthentication yes
    PubkeyAuthentication yes

Additionally, I added:

    PasswordAuthentication yes
    ChallengeResponseAuthentication no

Also, take a look at the use of ssh-agent and ssh-add.  The man pages will work for you,
and there are many how-to's and tutes.

You might also want to use Keychain (www.gentoo.org/proj/en/keychain/).

HTH.

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the K12OSN mailing list