security

Create a Root Certificate Authority with OpenSSL

Create a private root CA on Linux with OpenSSL 3.x—passphrase-protected or unencrypted root key, self-signed certificate with CA extensions, verification, and safe key handling before you build an intermediate chain.

Deepak Prasad13 min read
networking

Wireshark Tutorial for Network Analysis & Troubleshooting

Free, hands-on Wireshark course covering packet capture, display filters, TCP analysis, TLS and IPsec decryption, and network troubleshooting.

Deepak Prasad1 min read
linux

How to Check SSH Protocol Version: SSH1 vs SSH2 in OpenSSH

Learn how to check whether SSH is using protocol 1 or 2, what OpenSSH version strings such as OpenSSH_7.4p1 mean, and how to read SSH-2.0 banners and verbose SSH output.

Deepak Prasad10 min read
linux

How to Pass an SSH Password in a Script with sshpass and Expect

Automate password-based SSH and SCP in Linux using sshpass, Expect, and SSH_ASKPASS, with safer password input, host-key handling, and key-based alternatives.

Omer Cakmak15 min read
linux

Configure OpenSSH Host-Based Authentication on Linux

Configure OpenSSH host-based authentication on Linux with HostbasedAuthentication, ssh-keysign, shosts.equiv, and verified host keys—plus hostname/DNS checks and safer alternatives.

Omer Cakmak14 min read
linux

SSH Through a Jump Host with ProxyJump, ProxyCommand & SCP

Connect to private Linux servers through an SSH jump or bastion host using ProxyJump, ssh -J, ProxyCommand, and scp -J, with multi-hop routes and troubleshooting examples.

Omer Cakmak13 min read
linux

SSH into a VirtualBox VM from Host: NAT, Host-Only, and Bridged

SSH from your host into a Linux VirtualBox VM using NAT port forwarding (recommended), host-only networking, or a bridged adapter — with a mode decision table, guest SSH checks, and troubleshooting for 10.0.2.15 and VPN …

Omer Cakmak12 min read
linux

OpenSSH Host Certificates: Trust Servers with a Host CA

Use OpenSSH host certificates so clients trust one host CA through @cert-authority in known_hosts instead of enrolling every server host key — create a host CA, sign with ssh-keygen -h, configure HostCertificate on sshd, …

Omer Cakmak16 min read
linux

Fix "sshd: ssh-rsa algorithm is disabled" on RHEL

Understand sshd ssh-rsa algorithm is disabled on RHEL 9 and 10, when RSA-SHA2 logins still work, and when to upgrade clients or allow a scoped ssh-rsa exception.

Deepak Prasad11 min read
linux

Sign and Verify Files with SSH Keys Using ssh-keygen -Y

Sign files with ssh-keygen -Y sign, verify them with an allowed_signers file, signer identity, namespace, and stdin — no sshd or GPG required on OpenSSH 8.2 and later.

Omer Cakmak13 min read
linux

Fix SSH no matching key exchange method found

Fix SSH no matching key exchange method found by reading Their offer:, enabling the required KEX algorithm safely, and resolving follow-on host-key or cipher errors.

Omer Cakmak12 min read
linux

Fix SSH "Bad server host key: Invalid key length" Error

Fix SSH "Bad server host key: Invalid key length" caused by 1024-bit RSA host keys, RequiredRSASize, RHEL crypto policies, or stale known_hosts entries.

Deepak Prasad16 min read
security

Keytool & Java Keystore Tutorial for Beginners

Free keytool tutorial for Java keystores and truststores: PKCS12, CSRs, chain imports, cacerts, PKIX fixes, and Spring Boot and Tomcat HTTPS on JDK 21.

Deepak Prasad1 min read
security

OpenSSL & PKI Certificates Tutorial for Beginners

Free OpenSSL and PKI tutorial: generate keys and CSRs, build a root and intermediate CA, issue SAN certificates, set up mTLS, then renew and revoke.

Deepak Prasad1 min read
security

OpenSSH Tutorial: Keys, Certificates, Hardening and Remote Access

Free OpenSSH course: SSH keys, certificate authentication with a CA, sshd hardening, port forwarding, and file transfer, tested on RHEL and Ubuntu.

Deepak Prasad1 min read
security

CompTIA PenTest+ (PT0-003) Certification Course

Free CompTIA PenTest+ (PT0-003) course with a Kali and Proxmox lab, all five exam domains, and hands-on labs for recon, AD, web, and reporting.

Deepak Prasad1 min read
security

Ethical Hacking & Penetration Testing Tutorial (Hands-On)

Free, hands-on ethical hacking course on Kali Linux covering lab setup, recon, password cracking, phishing, web, wireless, and mobile attacks.

Deepak Prasad1 min read
linux

Fix userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes

Fix userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedKeyTypes by using rsa-sha2 with the same RSA key, or Ed25519, before any legacy ssh-rsa exception.

Deepak Prasad15 min read
linux

Revoke SSH Keys and Certificates with OpenSSH KRL

Create and update an OpenSSH Key Revocation List (KRL), revoke SSH certificates by serial, Key ID, or fingerprint, revoke plain public keys, and make sshd enforce RevokedKeys.

Deepak Prasad20 min read
linux

How to Configure OpenSSH Certificate Authentication with an SSH CA

Set up OpenSSH user certificate authentication with an SSH CA: create TrustedUserCAKeys, sign keys with principals and expiry, verify login, revoke with a KRL, then map principals with AuthorizedPrincipalsFile.

Deepak Prasad22 min read
linux

SSH Authentication Methods in sshd_config (Password, Public Key, PAM)

Configure OpenSSH authentication in sshd_config: password, public key, keyboard-interactive, host-based, GSSAPI, AuthenticationMethods, and Match blocks on Linux.

Deepak Prasad14 min read
linux

OpenSSH PerSourcePenalties: Block Repeated Failed SSH Connections

OpenSSH PerSourcePenalties on Linux: how sshd temporarily refuses noisy source addresses, how to read defaults with sshd -T, how to fix Not allowed at this time, and how exemptions and MaxAuthTries differ from Fail2ban.

Deepak Prasad22 min read
linux

RHEL 10 RPM Signing: Sequoia PGP, RPMv6 and PQC

Understand RPM signing changes on RHEL 10 and 10.1: Sequoia PGP verification, RPMv6 signatures, multiple signatures, OpenPGP v6, and hybrid ML-DSA-87+Ed448 post-quantum signing with tested commands.

Deepak Prasad23 min read
security

L3MON Android RAT Tutorial: Kali Linux Lab and Detection

Test archived L3MON on Kali with Genymotion: start the panel, patch and install a lab APK, verify client behavior, then analyze the APK with aapt, apktool, and JADX.

Kennedy Muthii19 min read
security

Canarytokens Tutorial: Create, Deploy and Test Honeytokens

Create Thinkst Canarytokens on canarytokens.org, test a Web bug from Kali with curl, read the alert history, then choose document, AWS, Kubernetes, cloned-site, and MCP honeytokens for authorized detection.

Kennedy Muthii17 min read
security

Ghost Framework Android Tutorial: ADB Testing with Kali Linux

Install Ghost Framework 8.0.0 on Kali, connect it to a Genymotion Android 10 guest over ADB, enumerate the device, and compare Ghost commands with direct adb shell in an authorized lab.

Kennedy Muthii13 min read
security

Android Lock Screen Bypass with ADB: What Still Works?

Test the old ADB Android lock screen bypass claims on rooted Genymotion, see why gesture.key fails on modern Android, and learn which recovery options still apply.

Kennedy Muthii16 min read
security

Zphisher Tutorial: How Social Media Phishing Pages Work

Install Zphisher on Kali Linux, run a Facebook-style login template on localhost, submit dummy form data with curl, and inspect auth capture files to see how the phishing workflow works.

Kennedy Muthii11 min read
security

FiercePhish Phishing Framework: Legacy Campaign Management Lab

Review FiercePhish as a legacy Laravel phishing framework: inspect the official installer, note Ubuntu-only limits on modern Linux, and map campaign concepts without live delivery.

Kennedy Muthii13 min read
security

Create and Analyze PDF Payloads with JavaScript and Attachments

Create harmless PDF payload examples with JavaScript, embedded attachments, and URLs, then analyze them on Kali with PDFiD, pdf-parser, ExifTool, and qpdf.

Kennedy Muthii20 min read