Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStatsPractice TestsCertifications

Categories

🎓 Certifications
🤖 Artificial Intelligence
☁️ Cloud and Infrastructure
💾 Data and Databases
💼 Professional Skills
🎯 Programming and Development
🔒 Security and Networking
📚 Specialized Topics
CheatGrid
HomeAboutTopicsPricingMy VaultStatsPractice TestsCertifications
LVLEVEL 0
0/5 XP
GitHub
© 2026 CheatGrid™. All rights reserved.
Privacy PolicyTerms of UseAboutContact

SSH & Remote Access Cheat Sheet

SSH & Remote Access Cheat Sheet

Back to Networking
Updated 2026-05-25
Next Topic: TCP IP Deep Dive Cheat Sheet

SSH (Secure Shell) is a cryptographic network protocol for secure remote access, command execution, and data transfer over untrusted networks. It provides encrypted communication channels using public-key cryptography, replacing legacy protocols like Telnet and FTP. SSH operates on port 22 by default and is fundamental to modern system administration, DevOps workflows, and secure remote management. With OpenSSH 10.x (current as of 2026), connections now default to post-quantum hybrid key exchange (ML-KEM + Curve25519), guarding against "harvest now, decrypt later" quantum threats — a shift that governments worldwide mandate completing by 2030–2035. The key concept to remember: SSH tunnels all traffic through encrypted channels, meaning not just authentication but also all subsequent data transfer is protected — making it essential for accessing servers, managing infrastructure, and transferring files securely.

What This Cheat Sheet Covers

This topic spans 21 focused tables and 202 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: SSH Key TypesTable 2: Basic Connection CommandsTable 3: SSH Config File OptionsTable 4: Port Forwarding TypesTable 5: Jump Host & Bastion AccessTable 6: SSH Key ManagementTable 7: File Transfer CommandsTable 8: Authentication MethodsTable 9: sshd_config DirectivesTable 10: Security Hardening TechniquesTable 11: authorized_keys OptionsTable 12: Troubleshooting CommandsTable 13: Connection Flags & OptionsTable 14: Escape SequencesTable 15: Known Hosts ManagementTable 16: File Permissions RequirementsTable 17: Advanced Tunneling TechniquesTable 18: Session Management (tmux/screen)Table 19: Cipher & Algorithm ConfigurationTable 20: Multi-Factor Authentication (MFA)Table 21: Alternative Remote Access Tools

Table 1: SSH Key Types

Ed25519 is the recommended choice for all new key generation; RSA at 4096 bits remains the compatibility fallback for legacy systems. Hardware-backed -sk variants add physical presence requirements for the strongest possible authentication against credential theft.

TypeExampleDescription
Ed25519
ssh-keygen -t ed25519 -a 100 -C "user@email.com"
• Most recommended modern algorithm
• 256-bit Edwards-curve providing best performance and security with the smallest key size
• -a 100 increases KDF rounds to slow passphrase brute-force attacks.
RSA
ssh-keygen -t rsa -b 4096 -C "user@email.com"
• Most widely supported algorithm
• 4096-bit minimum for adequate security
• slower than Ed25519 but necessary for older servers that don't support newer algorithms.
ECDSA
ssh-keygen -t ecdsa -b 521 -C "user@email.com"
• Elliptic curve algorithm with shorter keys than RSA
• NIST curves have suspected manipulation concerns; use Ed25519 instead for new deployments.

More in Networking

  • Quality of Service - QoS Cheat Sheet
  • TCP IP Deep Dive Cheat Sheet
  • Azure Networking Cheat Sheet
  • IPv6 Cheat Sheet
  • Network Monitoring and SNMP Cheat Sheet
  • Networking Core Cheat Sheet
View all 27 topics in Networking