Connecting To Your Server

Connecting To Your Server

How to connect to my Linux Server? FTP & SSH


This short tutorial we are going to go over on how to connect to your machine and how to update it to the latest firmware. Lets get started!

Here are some things you will need:

  • SSH client. If you are on a Mac you can simply connect through your terminal, if you are on a pc then use a client program like Putty which can be found here: Putty for windows
  • FTP Client. An FTP client that I have been using for years and would recommend is FileZilla. Both on Mac or PC you can download the client from here: FileZilla for Mac & PC once there, download the version that says Client, NOT Server.

First we will be start going over how to connect using SSH.

On your email from us you received an a username and password along with the IP of the server that you are renting.

In Putty you simply open the client and select add a new server. Enter the information, (IP, Username, Password) and for Port you put 22. That is the default SSH port unless otherwise specified.

On a Mac you will open your terminal and enter the following command:
Default Port 22:

ssh username@serverip

NOTE: replace “username” with your username provided
NOTE: replace “iserverip” with the ip of the server provided

Custom Port xxxx:

ssh username@serverip -pXXXX

NOTE: replace “username” with your username provided
NOTE: replace “iserverip” with the ip of the server provided
NOTE: replace “XXXX” after -p with the port provided with NO space

Once you run the command you will be asked to enter the password. Note that the when you are typing the password nothing will show on screen as you type but that is normal. Once the password is entered you can now hit enter. You are now connected to the machine and all the following commands will be running on the machine so be mindful of what commands you type.

Now that you are connected we need to update the machine. Now run the following commands to update and upgrade to the latest version of your Linux Flavor!

CentOS:

sudo yum update -y

Ubuntu:

sudo atp-get update
sudo apt-get upgrade

That’s it! you are all set. You did it!

Now you have a clean and strong base for your Linux OS so you can install any other software that you need to achieve your desired result!

Tags: , , ,

Related Post