Ssh
SSH usage, key management, config files, tunneling, and hardening.
Fix SSH "Host Key Verification Failed" Error
Resolve the SSH Host key verification failed error by removing the stale known_hosts entry with ssh-keygen -R after verifying the server is genuine.

The ~/.ssh Folder: Files, Permissions, and Layout
What lives inside ~/.ssh on Linux: private keys, authorized_keys, known_hosts, config, and the recommended permissions for each file.

How to Connect to MySQL through SSH Tunnel
Securely connect to a remote MySQL or MariaDB server over an SSH tunnel with local port forwarding, with steps for Linux, macOS, and Windows (PuTTY).

How to Set Up Passwordless SSH Login
Set up passwordless SSH login with Ed25519 or RSA key pairs. Copy public keys with ssh-copy-id, use the ssh-agent, and disable password authentication for hardened access.

How to Generate SSH Keys on Linux with ssh-keygen
Learn how to generate SSH keys on Linux using ssh-keygen, copy them to remote servers, and set up passwordless authentication.

SSH SOCKS Proxy: Create a SOCKS5 Tunnel for Browsing
Create an SSH SOCKS proxy with a SOCKS5 tunnel, configure Firefox or Chrome to use it, proxy DNS requests, and verify the browser exits through your SSH server.

ssh-copy-id Command: Copy SSH Keys to a Remote Server
How to use the ssh-copy-id command to copy your SSH public key to a remote server and set up passwordless login. Covers options, a manual fallback, and common errors.

SSH Permission Denied (publickey): Causes and Fixes
How to troubleshoot the SSH "Permission denied (publickey)" error in Linux. Covers file permissions, missing keys, SELinux, SSH agent issues, and server-side debugging.

How to Use SFTP Command to Transfer Files
Use the sftp command to connect over SSH, upload and download files, transfer directories, run batch jobs, and troubleshoot common errors.

SSH Hardening Guide: Best Practices for Linux Servers
SSH hardening best practices for Linux servers, including sshd_config checks, key-only logins, root login restrictions, firewall rules, timeouts, and Fail2Ban.

Initial Server Setup on Ubuntu 26.04
Prepare a new Ubuntu 26.04 server with a sudo user, SSH key authentication, UFW firewall rules, a hostname, timezone settings, and system updates.

scp Command in Linux: Secure File Transfer Examples
SCP copies files securely between local and remote hosts over SSH. This guide covers syntax, common options, and practical examples for everyday file transfers.

How to Enable SSH on Raspberry Pi
Enable SSH on Raspberry Pi with Raspberry Pi Imager, the headless ssh file method, raspi-config, or systemctl. Updated for current Raspberry Pi OS releases.

How to Change the SSH Port in Linux
Change the default SSH port 22 by editing sshd_config, adjusting the firewall, and reloading the SSH service on Linux.

How to Use SSHFS to Mount Remote Directories over SSH
SSHFS lets you mount a remote directory over SSH and browse it like a local filesystem. This guide covers installation on Linux, macOS, and Windows, mounting with options, persistent fstab mounts, and troubleshooting.

How to Enable SSH on Ubuntu
Enable SSH on Ubuntu by installing OpenSSH Server, starting the ssh service, allowing it through UFW, and connecting remotely from Linux, macOS, or Windows.

Using the SSH Config File
Set up the SSH client config file to manage multiple remote connections with custom hostnames, users, ports, keys, and jump hosts — all without long command-line flags.



