Page 2 Connecting to your server the first time
Your provider will either provide you with an ip address and password to connect to your server for the first time or give you access to a control panel that you can use to load the image.
Some hosts include the network setup on the image others provide a java ssh console to connect. If your only provided the java console you will need to set up the networking settings.
*Note: all entries in this article that require opening a file assume the nano text editor, some of you might prefer vim or if your a real Linux Ninja Emacs (If you use Emacs you don’t need to read this article .) If you prefer vim just substitue vi for nano.
If your provider pre-installed the image for you skip to Security.
This is the file that contains the connection settings for each of the network cards on your server. You will need your ip address and the gateway address which is to the router. Your host should provide these for you.
auto lo iface lo inet loopback auto eth0 inet static address xx.xx.xxx.xxx netmask 255.255.255.0 gateway xx.xx.xxx.xxx
Ctrl-x will close your file and prompt you to save.
Next we will install the secure shell server
apt-get install openssh-server /etc/init.d/ssh status : sshd is running.
With networking and ssh setup you will be able to connect via ssh using Terminal or Putty
Enter your password at the prompt and accept the key fingerprint prompt which will add your new server or vps to your local known_hosts file.
Next Page: Security.