View Single Post
Posts: 137 | Thanked: 71 times | Joined on Mar 2008
#35
Originally Posted by DojwqIO View Post
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,
1. create keys on machine A.
ssh-keygen -t dsa -f .ssh/id_dsa
2. scp id_dsa.pub user@n900-ip:
3. ssh to n900
4. cat id_dsa.pub >>.ssh/authorized_keys
5. chmod 400 .ssh/authorized_keys
6. exit and then try to connect from machine A.