Linux Administrator

How to Connect Your Server via SSH?

Secure Shell (SSH) is a protocol which is used to access Linux servers remotely. In short, we can say it allows the secure exchange of data between two computers. Commonly port 22 is used to connect one computer to another. You can also change this port editing its configuration file.

System Administrator normally use the SSH protocol technology as a remote control way of managing servers that are dedicated to their business.

SSH allows you to connect to your server securely and perform Linux command-line operations.

In this short article I will show how to connect your server via SSH.

Connect Server Via SSH

Follow the below steps to connect your server via SSH.

1. Open your SSH client.

2.Make sure you use your own domain name or IP address. If you want a user other than root, type the other username before the @ symbol.

Type:

# ssh [email protected]

OR (IP address version)

# ssh [email protected]

OR (domain FTP user version)

# ssh [email protected]

3. If this is your first time connecting to the server from this computer, you will see the following output. Accept the connection by typing “yes.”

The authenticity of host 'example.com (12.33.45.678)' can't be established.
RSA key fingerprint is 3c:6d:5c:99:5d:b5:c6:25:5a:d3:78:8e:d2:f5:7a:01.
Are you sure you want to continue connecting (yes/no)?
yes

4. You will now be prompted to enter your password. Please note that you will NOT see your cursor moving, or any characters typed (such as ******), when typing your password. This is a standard Terminal security feature. Hit enter.

5. You can also copy and paste, using Command+V to paste.

Password:

6. You are now logged into your server via SSH. You should see output like this:

Last login: Tue Jan  25 15:43:16 2011 from 12.33.45.678
############################################################
(sd) shortcuts
############################################################

To see your root password, type: p

To rebuild your Apache/Web Server configuration, type: web

To rebuild your Qmail/Mail Server configuration, type: mchk
	
To see your Qmail/Mail Server queue, type: q
	
To completely restart your Qmail/Mail server, type: r

To connect to your MySQL server as admin, type: my

To get rid of these messages/aliases, edit your /root/.bash_profile

[[email protected] ~]#

You can begin typing commands at the prompt.

Thank you! for visiting Look Linux.

If you find this tutorial helpful please share with your friends to keep it alive. For more helpful topic browse my website www.looklinux.com. To become an author at Look Linux Submit Article. Stay connected to Facebook.

About the author

mm

Santosh Prasad

Hi! I'm Santosh and I'm here to post some cool article for you. If you have any query and suggestion please comment in comment section.

Leave a Comment