Using SSH to access your XO Laptop

John Willis just posted the following comment to my post Putting your XO on the Web:

How were you able to ssh out of the box? Root has not password and the default settings for ssh are not to allow root access w/o a password. Also I could not find the documented password for the olpc account. I also found some hits that changing the olpc password might give the X application (sugar) some fits. If you want to read more on my first day expereinces please see…

Hot Chocolate at Starbucks.

I strongly suggest you view his post, for it has a charming picture of his two sons using an XO at a Starbucks. I bet some of their friends who got WII’s are going to turn “green” with envy pretty soon.

As for SSH access, it is important to keep in mind XO Axiom 1, The XO Laptop is a general-purpose Linux computer with builtin network access capabilities.

In particular, since the XO runs Linux, it supports the super-user, “root,” and root has the power to do anything. The default passwd for root is nothing, you just press the ENTER key when asked to enter the password. This is a real security issue, and I will address it in a future post. If you are going to take the XO to a place where others might be able to access it, then you should first use “passwd” to set up a password for root.

Once you get in as root you can both change passwords and create new users. So if you don’t know the password for “olpc” then you can use “passwd” to define a new one.

I gained access to my XO using SSH by first creating a new user, “shields” while running the XO. Once I had done that I had no problem using SSH to gain access from my Linux box.

One Comment

  1. Posted January 2, 2008 at 13:51 | Permalink

    Hi Dave,

    I love your site and all the stuff you are doing about the XO. My main interest in the XO is to learn how to use it as a tool to advance my children’s education. Also, open and document all my successes and failures. I have been looking for a good template or examples of what other’s have done and I am not seeing a lot of good examples. Most of the stuff I am find is mostly wish list kind of stuff. If you or any of your readers come across any good stuff like this please let me know.

    john dot willis at zabovo dot com


Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

  • Pages

  •  

    January 2008
    M T W T F S S
    « Dec   Feb »
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • RSS The Wayward Word Press

  • Recent Comments

    Itsme on Announcing spitbol, a New Proj…
    Pam Pearson on LinkedIN Alumni Group for High…
    daveshields on Kenken Solver in Python
    Burkhard Meissner on One Million Lines Per Minute: …
    LinuxLover on Why I Use Ubuntu Linux
  • Archives

  • Blog Stats

  • Top Posts

  • Top Rated

  • Recent Posts

  • Archives

  • Top Rated