Hi Jeff, I'm guessing from the steps you're trying to take that you want to use SSH to access your n800. Now adding your public key from your Ubuntu system to the ~/.ssh/authorized_keys file is only necessary if you don't want your n800 to ask you for a password when logging in. If you're trying to log in for the first time as root (ssh [EMAIL PROTECTED] where x.x.x.x is your n800's IP) and it keeps asking you for a password (which you don't know ahead of time) it's "rootme" for the root account. No idea what it is by default for the user account. Once you can log in as root you should immediately change the password on the n800 via the "passwd" command.
If you'd still like to skip the password prompt when logging in from a specific system that's when the authorized_keys file comes into play. First, verify you have a ~/.ssh/id_dsa.pub file on your Ubuntu system; if not, run the command "ssh-keygen -t dsa". Now copy the ~/.ssh/id_dsa.pub file from your Ubuntu system to your n800 into /tmp (scp ~/id_dsa.pub [EMAIL PROTECTED]:/tmp). Once you log in then type "cat /tmp/id_dsa.pub >> ~/.ssh/authorized_keys". The above directions assume you'd like to log in as root all the time; perhaps not the best idea. To be able to log in as the "user" account just type "cat /tmp/id_dsa.pub >> ~user/.ssh/authorized_keys. Thereafter you'll be able to log in as the "user" account via ssh [EMAIL PROTECTED] Larry On 4/7/07, Jeffrey Barish <[EMAIL PROTECTED]> wrote:
In InstallSsh (https://maemo.org/maemowiki/InstallSsh), I am directed to store the public key in ~/.ssh/authorized_keys-file. Then it says, "To get the public key-file to the Nokia 770 [800, in my case], use USB, bluetooth, mail ...". I am missing something basic here. When I connect the N800 to my Kubuntu 6.10 machine, it gets mounted under /media and two icons appear on the desktop. (Why two? One is labeled usbdisk and looks like a USB key, the other usbdisk-1 and looks like a folder. I see the same contents whichever I open.) I presume that I can copy the authorized_keys-file to the folder to get it to the N800, but then how do I get it into the ~/.ssh directory? I can create a new folder in the Konqueror window I get when I click on either icon, but if I call it .ssh, will it be ~/.ssh? In other words, where am I when I open /media/usbdisk? I was hoping to find a console on the N800 in which I could type Unix commands, but there doesn't seem to be one. -- Jeffrey Barish
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
