View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#24
Originally Posted by helihyv View Post
You were not supposed to create a folder.
The command:
Code:
 cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys2'
does not move the file into a folder authorized_keys2, it adds the public key held in the file id_urpo.pub to the end of the file authorized_keys2 (if it does not exist, cat creates it first) .

If you created a folder authorized_keys2, you should remove (or rename if you want to keep the contents) it and try again with the above command.

If you created the folder authorized_keys yourself too, its best to rename that too and try again with the command

Code:
 cat ~/.ssh/id_urpo.pub | ssh user@computer 'cat >> ~./ssh/authorized_keys'
(SSH should just need the public key in either authorized_keys or authorized_keys2, but I am not sure which one OS X wants.)

My first guess in the post #8 was based on the far too hasty assumption that the folder authorized_keys was preconfigured for you by the OS X, and thus should be there. Sorry for the mess...
It's alright. Thanks for the help though, we'll see if someone else who's using a Mac here can get this to work. You'll by the way need to update the manual of URPO as well, since it has command for private, not .pub.

I myself had to give up on testing this, since I flashed my N900 today. I got my GPRS/3G going like mad and rarely working and also lost some widgets and couldn't reinstall packages so flashing was quite imminent. I can quite safely say though that these are not related to URPO, since I can't recall having these issues with it.