View Single Post
Posts: 62 | Thanked: 18 times | Joined on Dec 2009 @ Missouri, USA
#34
Originally Posted by danramos View Post


Here's the details of how to do it, for the unexperienced in ssh keypairs:

On the side that is going to ssh out to the tablet, I'm assuming you have some kind of ssh command line client like OpenSSH, run the command:

ssh-keygen -t rsa

...to create an RSA style pair of key files (there's also dsa but RSA has more bits involved and so is more secure).

It will ask you for a filename to save the rsa key as. You can just hit enter to accept the standard default location and filename (usually your .ssh hidden directory). Take note of the path and name of the key, though. You will need it soon.

Then it will ask you to enter an optional password... you can enter one if you want that extra notch of extra security but it's not necessary nor much better. You can just hit ENTER twice to leave it empty.


...

Now, you should be able to just 'ssh user@192.168.0.5' to get into your tablet and magically get a shell without being asked for your password.
Hi, I posted a question on this thread http://talk.maemo.org/showthread.php?t=35587 but I think this one might be more appropriate.
I created the keys and copied the public key id_rsa.pub over to /home/user/.ssh/authorized_keys, but when I try ssh -l user 192.168.1.8 (the ip of the N900), it still asks for a password.

Any suggestions?
Thanks,