Call us toll free: 0800 WEB DRIVE

Our first post: Setting up SSH

Published 20 November 2013


Welcome to the Web Drive Blog!

We'll be posting regular articles on our platforms, general server and web hosting topics and helpful tips on getting the most out of your hosted infrastructure. You'll also find regular posts from various teams around Web Drive keeping you up to date about what's happening in the business and the industry in general.

We hope you find our blog useful!

To start with let's take a look at the basics of SSH.

Introduction to SSH.

SSH, or Secure Shell, provides an encrypted connection to your Linux server. As the name suggests SSH is a secure way to log into your server from a remote connection.

How to SSH into your server.

If you're going to SSH into your server as the root user, you can start by opening Terminal application (on Linux or Mac) or a SSH client such as PuTTY (on Windows).

If you're on a managed server you'll be able to SSH using your user credentials, but if you're on our Self-Managed Cloud you'll need to create a NAT rule.

Warning: Always backup your server before attempting to modify. You'll have access to delete almost everything without requiring confirmation.

Some useful SSH commands:

scp
A really useful command to securely copy files to your server.

free
This command gives an overview of what's happening in memory.

meminfo
Usually meminfo is used with another program such as cat or grep

netstat
Useful to supply a lot of network related like interface, routing, protocol and network statistics. Some useful options:
-r Routing information
-i Network interface
-s Network protocol

ps
Displays how much processor time and memory the server's programs are using

Wireshark
The best network protocol tool around!

Recent Posts

Categories

Archives