Burning a xUbuntu Live dvd and remote access with ssh

I am writing this post as part of Tero Karvinen’s course: Linux palvelimena (roughly translated: Linux as a server) http://terokarvinen.com/2012/aikataulu-linux-palvelimena-ict4tn003-4-ja-ict4tn003-6-syksylla-2012.

On this post I will go through the following:

  • Downloading xUbuntu 12.04 (32-bit)
  • Burning a live dvd (cd should still work as well.)
  • Using ssh to remotely connect to a computer with a ssh server

Downloading and burning a xUbuntu live dvd

I started of by heading to xUbuntu’s download page http://xubuntu.org/getxubuntu/. There were two different types of downloads available: the image file or a torrent of said file. I decided to go with the torrent, but as the link seemed to be down I googled for it instead with “xubuntu 12.04.1 torrent” and the first link took me to a website called http://cdimage.ubuntu.com/xubuntu/releases/12.04.1/release/. I chose and downloaded the file on the following line: xubuntu-12.04.1-desktop-i386.iso.torrent 23-Aug-2012 22:51 27K Desktop CD for PC (Intel x86) computers (BitTorrent download). But as the files are the same at xUbuntu’s site you can download the image from one of the mirrors at xUbuntu’s website mentioned above (if you are not sure which version is the right one take the i386 version ie 32-bit).

After the file had downloaded I located the file and clicked it with my mouse 2 and chose Open with -> Windows Disc Image Burner (On windows 7). I cliked the “Verify disc after burning (optional) and burn. The disc is ejected after the burning is completed.

When opened the contents of the disc should look the same as on the image below. Not the single iso-file I started burning.

If you would like to use an usb stick instead of a disc; check my Installing Ubuntu 12.04 LTS on an Asus eee pc 901 -post.

Booting to the live-environment

Close the disc tray (leave the disc in of course) and restart your computer. If your computer doesn’t automatically detect the disc you might need to go to bios settings to change the booting priority.

Read this if your disc didn’t boot to xUbuntu:
Restart your computer and hit the key that takes you to Bios (Mine was the Del-key). Once in Bios I switched to the boot-tab and selected “Boot Device Priority” in there I put my Disc as the top choise. Just to make sure keep the other drives in the correct order. (If you had hdd1, hdd2 and DVD-drive. Swap it like this DVD-drive, hdd1, hdd2. Since it might swap the two hdds if you only move the DVD-drive to the top) the drive order might not matter anything but if you have problems booting back to your installed operating system, you might want to re-check the order.

The disc took a while to boot, after it is ready you are asked to select one of the following “Try Xubuntu” and “Install Xubuntu”. I chose “Try Xubuntu” so it won’t install anything to my computer.

Connecting remotely

Since I don’t have access to many computers at the moment I will test the remote connection locally to another user using ssh.

First we need to open the Terminal which is found in the upper left corner by clicking the white mouse -> Accessories -> Terminal Emulator.

Once the Terminal was open I wrote sudo apt-get update, which updates the list of available programs to install (sudo or super user do, means you want to use administrative rights, apt is the program that handles the installations). Next I will install the ssh-server by sudo apt-get install openssh-server the installation asked if I wanted to really install the program, I pressed ‘y’ to install (I believe that in live environment programs are installed in RAM and dissapear after the computer is restarted).

After the installation has finished I will add a new user by doing the following command sudo adduser samuel next I need to enter a password for the new user samuel. The other information can be left empty. ssh samuel@localhost will connect me to the new user. ssh will ask if I can trust the address it is connecting, since I know it’s my own I write “yes” and hit enter. samuel’s password is asked in order to connect, once entered I have successfully connected to the other user.There is not much to see since the user was just created and there is no content, to get out simpy write “exit”.

Sending the public key through ssh

I’ll be following the instructions I found at https://help.ubuntu.com/community/SSH/OpenSSH/Keys to create public and private keys and sending the public key through ssh (normally to a remote computer). I use the command ssh-keygen -t rsa to generate a private and public key. I left the filename empty and just hit enter, after that I entered a passphrase.

I am sending the public key to the “remote” computer with ssh-copy-id samuel@localhost. After I was done sending the public key, I tried to login through ssh once again (as the terminal suggested) only this time using the passphrase.

Advertisements

5 thoughts on “Burning a xUbuntu Live dvd and remote access with ssh

  1. I will immediately grasp your rss as I can not find your e-mail subscription hyperlink or e-newsletter service. Do you’ve any? Kindly permit me recognise so that I may just subscribe. Thanks.

    • Currently I am not using either service. I am mainly using wordpress to store and share my homework, I probably won’t be updating this site that regularly. Thanks for the interest though!

  2. sudo aptitude install openssh-server byobu is the proper command to make ssh work in xubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s