Menu

SSH

Table of Contents

What is SSH?

Secure Shell or SSH is a network protocol that allows data to be exchanged securely over a network. It is used for logging into remote servers, for executing commands remotely, and for transferring files.

SSH uses public-key cryptography to authenticate the session and encrypt the data that is exchanged.

SSH provides secure access to a server, and is widely used on Linux and UNIX-like systems; SSH is also available via the Secure Shell version 2 protocol for Microsoft Windows. SSH was originally designed for use in the insecure environment of telnet.

SSH server listens on port 22

What are the benefits of using SSH?

SSH provides security to your network and allows remote access to servers, including the ability to execute commands. SSH is a very flexible tool that can be used with many protocols. SSH provides a secure means to run commands from an SSH session. Once you are logged in, the command-line tools allow you to copy files, delete directories and perform other tasks. You can also use SSH to remotely execute programs or scripts. You can access any system that supports SSH.

How do I use SSH?

To use SSH, you must first log into the remote system and then establish a secure connection. You can do this by using your username and password, or by using a public key. A password is a one-way function that allows you to prove your identity to another person, but it doesn’t allow the other person to prove that they are you. The only way to truly protect your identity is to use a passphrase. A passphrase can be as complex or simple as you need it to be.

What are the best SSH clients?

If you don’t already have an SSH client, I recommend Putty. It’s free, easy to use, and very secure. You can download it from http://www.chiark.greenend.org.uk/~sgtatham/putty/index.

SSH configs

  • Configure hostname
  • Configure domain name
  • Generate RSA key pairs
  • Configure enable PW, username/PW
  • Enable SSHv2 only
  • Configure VTY lines
ssh username@ip-adress
wanikwai
wanikwai

A christian & dad to Mireya and Jnr. I write occasionally about technology on this website.

Articles: 25

Share your thoughts

Discover more from Watson Anikwai

Subscribe now to keep reading and get access to the full archive.

Continue reading