Skip to main content

ssh

Browse all articles, tutorials, and guides about ssh

8posts

Posts

Security
|8 min read

When the SSH Server Attacks the Client: libssh2 CVE-2026-55200

You spent years hardening sshd. This bug does not care. CVE-2026-55200 is a pre-auth heap overflow in libssh2 where a malicious SSH server takes over the client that connects to it, no credentials needed. And libssh2 is a client library hiding in curl, git tooling, and backup jobs all over your pipeline. Here is the bug, who is actually exposed, and how to find it in your stack.

Linux
|7 min read

What do PTY and TTY Mean?

TTY and PTY are interfaces for text input and output in Unix systems. Learn the difference between physical terminals (TTY), pseudo-terminals (PTY), and how they enable SSH sessions, terminal emulators, and command-line tools.

Docker
|8 min read

Using SSH Keys Inside a Docker Container

Need to use SSH keys in your Docker container for git, automation, or remote access? Learn secure ways to provide SSH keys, best practices for builds, and how to avoid common pitfalls.

Terraform
|5 min read

How to create an SSH key in Terraform?

Learn how to generate and manage SSH keys in Terraform for secure access to your infrastructure.

Terraform
|8 min read

How to Add SSH Keys to GCP Instances Using Terraform

Learn how to configure SSH key access for Google Cloud Platform compute instances with Terraform, including project-wide and instance-specific keys.

Networking
|6 min read

How to Fix SSH "Could Not Resolve Hostname" Error

Troubleshoot and fix the SSH 'nodename nor servname provided, or not known' error with DNS checks, host file configuration, and SSH config debugging.

Networking
|6 min read

How to Find the IP Address of an SSH Client

Learn multiple ways to identify the IP address of clients connected to your SSH server, from environment variables to logs and active connection monitoring.

Git
|7 min read

How to Specify a Private SSH Key for Git Commands

Learn multiple methods to use specific SSH keys with Git operations, from command-line options to SSH config files and environment variables, making it easy to manage multiple keys for different repositories.