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.