Tuesday, March 18, 2014

Login and hosting SSH

SPECIFICATION OF MY PC
System type: Microsoft Windows 7 professional, 32-bit Operating system / XUBUNTU 13.10
Motherboard: Gigabyte X58A-UD3R
Processor: Intel Core i7 CPU   960 @ 3.20Ghz
Ram: 4,00GB (3,5GB usable)
Hard drive: 367GB
Video card: Nvidia GeForce GTX 560 Ti
Current resolution: 1680*1050, 59Hz
Cd/dvd/Blueray Drive: Asus BW-12B1LT

This publish includes eleven (11) (includes also bonus) steps to Make your own website and Login SSH. Follow the steps and you'll have learned how to make personal website and have logged in using SSH in no time. In case there is any problems please leave a comment and I'll do my best to help you. Hope it helps.


Step one (1)


        In the beginning begin with "sudo apt-get update" to update the list of available software in your console.


Step two (2)


Search for open SSH with the command "sudo apt-cache search openSSH"  Make sure that you have found the right program from the list before proceeding!!!


Step three (3)


Install  the program in this case "openssh-server" with command "sudo apt-get install openssh-server". Press y to complete installation.

Step four (4)

To test the program try to make a profile. for example I used "sudo adduser badham", it's important to have your own name in it to make it simple.

Step five (5)


The terminal will ask you to enter your own password. Add your own password and make it hard to crack.
The terminal also asks some extra info, but as this is a test case you won't need that.It also asks for confirmation and you just apply by typing "y" and pressing "enter"



Step six (6)


After the installation we should test the connection and see if everything works correctly. To login to your SSH you can test it easily with command "ssh username@localhost" for this example "ssh badham@localhost". It worked.

Step seven (7)


Apache2 webserver is earlier installed and the command "sudo a2enmod" to allow users own directory. If you want to have more detailed info you can read from my earlier post here: "http://tinyurl.com/ncp894b". Because of this I can continue my work.  Make sure that you are in your own directory. You can find out with command "pwd". If it prints "/home/username"

Step eight (8)


Now it's time to create own folder for the webpage. Make it with command "mkdir public_html" you can check that it created a folder with command "ls". After all that enter the folder with command "cd publix_html"

     Step nine (9)

      After that we create index page for our site. Do this by typing "Nano index.html" It opens the text file. In       here as this is a test page you can just use basic html.



   Step ten (10)

To test that everything works for the last time, open a browser and type in the place where you put your website "http//:localhost/~username" in this case "http//:localhost/~badham"




Step eleven bonus step (11)

Little bit termonology as bonus:
Public key = anyone can encrypt the message with public key, but only the guy who owns the paired private key can open it.

Man in the middle = person who captures conversation and can control the message flow even so that the people who discuss won't find out.

NAT (Network address translation) = Methodology of modifying network address information in internet protocol datagram packet headers as they are traffic routing device of remapping one ip address to another.

Two way authentication = To have to identifying pass ways two needed to access a computer/network. Works as the ATM card in easy way explained. You need the card and the code to access the money in the card.

Strong Encryption = To make a strong encryption that is very hard to break even with the brute hacking

symmetric encryption = Where the both users have the same common key to encrypt and crypt messages


Links:

http://terokarvinen.com/2014/agenda-for-linux-basics-dat8tf063-23-spring-2014

THANK YOU FOR READING!

HOPE IT HELPED

No comments:

Post a Comment