Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID

Poll

No poll attached to this discussion.
SSH to Raspbmc - Default Username and Password
  • The Raspbmc project is built so you shouldn't need to SSH in to you Raspberry Pi to start using it. However you probably want to :)

    To login from a Windows PC you will need an SSH client such as puTTY, you can down load it here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html I recommend you download 'A Windows installer for everything except PuTTYtel' as this will provide you will all the tools you're probably ever going to need for SSH.

    Once installed, run the puTTY program and in the 'Host Name (or IP address)' field enter the IP address of your Raspberry Pi, you can find the IP address in XBMC on the System Info -> Network page.

    Now click 'Open', if you goes well you will be prompted for a username and password.

    The default username and password is: Username: pi Password: raspberry

    If this is the first time you have logged into raspbmc you will asked to wait while a script sets up you locale settings. When the menu comes up select the correct locale for you country and language. Once complete you will be presented with the BASH command prompt, it will look something like this:

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    pi@raspbmc:~$
    

    The dollar sign '$' at the beginning of the command prompt show that you are logged in as a normal system user. To gain access to the root user and full control of you Raspberry Pi use the sudo command:

    pi@raspbmc:~$ sudo -i
    root@raspbmc:~#  whoami 
    root
    root@raspbmc:~#
    

    You can now see the beginning of the command prompt is now a hash symbol '#', which denotes that you are now root, the super user.

    At this point I recommend you change the default password you the 'pi' user:

    root@raspbmc:~# passwd pi
    Enter new UNIX password: 
    Retype new UNIX password: 
    passwd: password updated successfully
    root@raspbmc:~# 
    

    N.B. The new password prompts do not echo any thing to the screen when typing, not even '*'.

    Now the password has been changed, log out and log back in to make sure everything worked.

    root@raspbmc:~# logout
    pi@raspbmc:~$ logout
    

    To logout you can use the command 'logout' or 'exit', you can also use the hot key 'CTRL-D'. You will need to type this command twice, first to logout of root then to exit the SSH connection.