Techlogia — AI and Web Development Berlin

SSH explained – understand and practise in the terminal

SSH is the secure door to every server. Those who understand it work securely and conveniently at once. Here you learn how keys work instead of passwords – and practise the login on a real VM.

Key pair instead of password

An SSH key pair consists of a private (stays with you) and a public key (goes on the server). You generate it with ssh-keygen. Passwordless login is not only more convenient but also safer against brute force.

Connecting and known_hosts

You connect with ssh user@host. The first time you confirm the fingerprint – it lands in known_hosts and protects against man-in-the-middle attacks.

Hardening the SSH server

Disable password login, forbid root login, change the port: small changes in sshd_config with big impact. You go deeper into this in server hardening.

What you practise

ssh-keygen, Schlüsselpaaressh user@host, known_hostssshd_config härten

Have a project?

Let's bring your idea to life together. We're happy to advise you with no obligation.

Get in Touch

How do you like this page?

Learn & practise SSH – keys, login, hardening | Techlogia Lab