Facebook Twitter Instagram
    WiredRevolution.com
    • Home
    • About
    • Contact Us
    • Essential Linux Commands
    • Sitemap
    Facebook Twitter Instagram
    WiredRevolution.com
    ubuntu

    How to SSH into Ubuntu LiveCD

    RyanBy RyanDecember 16, 20084 Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Email

    The ability to remotely SSH into a machine running an Ubuntu LiveCD can come in handy in many situations. The LiveCD supports a large variety of hardware and can be used to troubleshoot system problems on a machine where you have limited or no access. A user with limited skills can easily setup remote access and allow a trusted friend to troubleshoot the system from another location.

    The first thing to start the process is to open a terminal. Follow these menus:

    Applications -> Accessories -> Terminal

    In the terminal install the ssh server on your LiveCD system.

    $ sudo apt-get install openssh-server
    

    The server is started automatically after installing.

    To login remotely, you’ll need to set the password for the default ubuntu user.

    $ sudo passwd ubuntu
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    

    You should now be able to login to the system running the LiveCD. But first you need to find the IP address of the machine so you can connect to it.

    The ifconfig command will list your network interfaces and along with it your IP address.

    $ ifconfig
    
    eth0      ...
              inet addr:192.168.1.1  Bcast:192.168.2.255  Mask:255.255.255.0
              ...
    

    The inet addr entry is your IP address which you need to log into the LiveCD system. As you an see above the IP address begins with “192.168” which indicates that the IP address is only valid on the local network. It was an address assigned to the machine by the router. This is fine if you plan on logging in from another machine on this local network.

    If you need to access the machine from outside your local network you have a couple of options. The first is to remove any router between you and the Internet. This should give you a valid IP address which is accessible from outside your local network. You may also be able to access your router’s administration panel and tell it to pass SSH traffic to the IP address of the LiveCD system. You will then use the router’s IP address instead for the next step.

    If your IP address already begins with something other than “192.168” then you are safe as well. You should be able to access the LiveCD system from any location, local or not.

    Using the IP address from the previous step you can now log into the LiveCD system as the ubuntu user. Use the password you created earler.

    $ ssh ubuntu@<IP Address>
    
    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
    Previous ArticleView process environment details with proc
    Next Article View the status of a long emerge

    Related Posts

    Fix insync Gnome Shell extension error on Ubuntu

    Netflix now working on Ubuntu Linux

    Transfer your ssh public key to a remote machine

    Most Commented
    March 12, 2009

    Fix blue tinted video in Ubuntu

    September 10, 2010

    Setup SSH access between VirtualBox Host and Guest VMs

    March 8, 2011

    Install GNOME Shell in Ubuntu 10.10 Maverick

    April 4, 2009

    Setup the PS3 Bluetooth Controller on Ubuntu

    October 22, 2008

    How to correctly use LD_LIBRARY_PATH

    Recent Comments
    • Execute command on linux virtual machine (or server) from windows commandline on Setup SSH access between VirtualBox Host and Guest VMs
    • Solved: How to SSH to a VirtualBox guest externally through a host? - Daily Developer Blog on Setup SSH access between VirtualBox Host and Guest VMs
    • How to SSH to a VirtualBox guest externally through a host? [closed] – Code D3 on Setup SSH access between VirtualBox Host and Guest VMs
    • How to copy and paste from VirtualBox? [duplicate] on Setup SSH access between VirtualBox Host and Guest VMs
    • Jackie Laguna on Fix OpenGL: ChoosePixelFormat SketchUp error in WINE
    © 2025 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.