[edit] Networking

[edit] How to use SSH with N9

  • Go into developer mode
  • Install OpenSSH Client+Server
  • establish an WLAN connection - the N9 gets an IP, e.g.
  • Open SDK/Connection App -> WLAN, Now you can ssh into your N9
ssh developer@

[edit] ssh to the user account

  • You need to set up a password on the N9, e.g. using the terminal typing
~ $ passwd

[edit] Using public key authentification

The usual preconditions for using public key authentication apply [1]:

  • Creating and setting permissions for the directory /home/user/.ssh and copying the public key of your incoming PC into the file authorized_keys (permissions: 600)
~ $ mkdir .ssh
~ $ chmod 700
tobias@einstein:~$ ssh-copy-id -i .ssh/id_dsa.pub user@

It seems, the uncommon thing about the N9 is, that the home-directory /home/user is world and group writeable [2] , thus public-key authentication fails.

Two workarounds:

  • use the "developer" account instead of the "user" account
  • make /home/user only world and group readable, e.g.
~ $ chmod 755 /home/user 

The latter is risky, we don't know why Nokia decided to have it world/group writeable, there must be a reason for it. Probably because the users aegisfs, calendar have to create files/dirs in there.

[edit] References

* http://talk.maemo.org/showthread.php?t=82920
* http://talk.maemo.org/showthread.php?t=75180