SSH+into+the+Server

=SSH into the Server (optional)=

The ability to use [|SSH] to login to a server remotely might be nice should you want to setup your server in a cramped location (i.e. a closet) and then move down the hall to complete the rest of the configuration of your Moodle server. If you have MacOSX, you can use the Terminal program to SSH into your server. If you are on a Windows machine, I recommend using a program like [|PuTTY] to create an SSH connection into your server. The DOS prompt in Windows supports [|telnet], but not SSH.

To successfully create an SSH connection to your server, you need to know the hostname or [|IP address] of your server. For our training purposes, hostnames were not given to our servers in a public sense (we did give our server a hostname during installation, but that is currently local only to the server). We will need the IP address of the server, which can be easily looked up by issuing the following command: code format="dos" inconfig code This command will generate a similar report. What we are interested in is what comes after "//inet addr://" That is the IP address of this machine (in the case of this output, 172.17.254.1). code format="dos" eth0     Link encap:Ethernet  HWaddr 00:0A:95:94:10:5C inet addr:172.17.254.1 Bcast:172.17.255.255  Mask:255.255.0.0 inet6 addr: fe80::20a:95ff:fe94:105c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500  Metric:1 RX packets:121789 errors:0 dropped:0 overruns:0 frame:0 TX packets:20910 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:12022113 (11.4 MiB) TX bytes:3867805 (3.6 MiB) Interrupt:41 Base address:0x9800
 * 1. Get the IP Address of the Server**

lo       Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436  Metric:1 RX packets:147 errors:0 dropped:0 overruns:0 frame:0 TX packets:147 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:43171 (42.1 KiB) TX bytes:43171 (42.1 KiB)

code From your SSH client (Terminal or PuTTY) type the following command (replace xxx.xxx.xxx.xxx with the IP address of your server): code format="dos" ssh root@xxx.xxx.xxx.xxx code One you enter your password you should be greeted with the same command prompt as you see at the server itself.
 * 2. Create the SSH Connection**

If you now have an SSH connection, go onto "Downloading and Installing Webmin" to setup a web interface for your server.

Related Search: Online Computer Support