started editing for legibility and context

This commit is contained in:
rra 2019-06-20 10:45:39 +02:00
parent 1892ad8e9b
commit b720a19d43

View File

@ -2,28 +2,22 @@ Title: Demystifying SSH
Date: 2019-06-17
Tags: ssh
Slug: demystifying-ssh
Description: Understanding, using and troubleshooting SSH for fun and not-for-profit
Description: Setting up and understanding remote terminal connections to your server using SSH for fun and not-for-profit
Author: decentral1se
Status: draft
Status: published
Category: fundamentals
## Introduction
Some of the essential things that separate a server from other computers is that first they are usually not where you are and second that often come without screen and keyboard. With homebrewservers this is particularly the case when using Single Board Computers (SBC).
In order to use a server you need to it over the network using the command-line interface or shell. This is usually done with a program called SSH which stands for Secure Shell.
One of the more important and foundational skills needed for experimenting and
maintaining servers is understanding, using and troubleshooting SSH.
SSH is all about remotely gaining access to the command-line interface of your
server. Remotely accessing your server is probably one of the first things
you'll want to achieve when starting to run a server from your home.
When your server has no screen attached, no desktop environment installed, you
would like to access it when you are not at home or allow your friend to log
in, you will need to use SSH.
Using SSH can be a frustrating experience. There are many moving parts to
consider when dealing with user accounts, permissions, public key cryptography,
protocols, clients, servers and agents. And yet despite so much to consider,
SSH is praised as something easy to use and quite often presupposed knowledge
Setting up and using SSH can be a challenge at first. There are many moving parts to
consider. Working with SSH means knowing something about user accounts, permissions, public key cryptography, protocols, clients, servers and agents. And yet despite so much to consider, SSH is praised as something easy to use and quite often presupposed knowledge
between peers.
With this in mind, there is a need to demystify SSH. In this guide we aim to
@ -32,9 +26,8 @@ approaches for day to day use and troubleshooting.
## Prerequisites
The SSH ecosystem is old and venerable. It is available on all modern GNU/Linux
distributions. You can use your home server or if you don't have one yet you
can use your own personal laptop to experiment (in this case, your laptop will
The SSH ecosystem is very established. It is available on all modern GNU/Linux
distributions, MacOS and Windows. You can use your home server or if you don't have one yet you can use your own personal laptop to experiment (in this case, your laptop will
play the role of both the server and client as explained later).
The commands shown in this guide were run on a [Debian Stretch] distribution