My experiences with technology

Post navigation

Ubuntu SSH and XUbuntu GUI

To try to figure out how to set up plex (refer here if you want to learn more about my plex server situation), I found people who refered me to ssh. I thought, well I dont know how that would help me but it wouldnt hurt to learn it! I started off with installing ssh with this command

sudo apt-get install openssh-server

After waiting a bit, I then went about changing the port that ssh goes through. I did this by first making a copy of the original file to make sure I could revert changes. The command for this is

sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original

I then change the rights of the original file to ‘a-w’ with this command

sudo chmod a-w /etc/ssh/sshd_config.original

This removes the right to write from all users. Now I went in and edited the port that ssh communicates on to a random number I wont mention :). I did this by editing the file.

sudo nano /etc/ssh/sshd_config

Now it is time to restart ssh to apply changes with:

sudo /etc/init.d/ssh restart

Now I was able to ssh into my machine locally! really really easy. My steps were based off of this simple guide.

Unfortunatly this did not solve my problem. (I figured it wouldn’t because it is the same thing as command line interface.) What I decided to do was install a GUI to finish off the plex server. I did this with a lightweight GUI with the command

sudo apt-get install xubuntu-desktop

This was not what I wanted to do originally but my classes don’t give me as much time as might be required to do this project the hard way.(http://www.ubuntugeek.com/install-gui-in-ubuntu-server.html) After it downloaded for a while. I actually opened up firefox right away and started taking care of it until I tried to publish my server and my apt complex has blocked the port! Will it ever end? haha