Skip to content
blog.rethy.xyz

Persistent SSH Sessions Using tmux

Posted on August 14, 2023 (September 29, 2025) by Brody Rethy

# 1. Create a new tmux session.
tmux

# 2. Then detach using Ctrl + b, then hit d.

# 3. Reattach to the session using the following command:
tmux attach -t 0

Posted in Uncategorized

Post navigation

Previous: nofail SSH Mounting in fstab
Next: Stop VSCode From Ignoring Linux Remaps

Recent Articles

  • Setting up LUKS Crypts with Filesystem & LUKS UUIDs on Debian November 25, 2025
  • Generating Certificate and Key for qBittorrent SSL November 23, 2025
  • Installing qbittorrent-nox on Alpine Linux November 23, 2025
  • Disabling tailscale Routes on Bridged Network November 23, 2025
  • Setup br0 (DHCP) interface with network-manager (nmcli) November 15, 2025
  • ollama Environment Variables February 7, 2025
  • Disable High Contrast Theme Per Application December 18, 2024
  • Ignore RECYCLE.BIN Directory In Everything By Voidtools September 24, 2024
  • Creating Tailscale Subnet Routes August 26, 2024
  • Understanding SQL Injections August 12, 2024
  • Enabling TWM-Like Keybinds In PopOS 22.04 LTS July 30, 2024
  • Common Malware Obfuscation Techniques July 22, 2024
  • Data Storage Safety July 17, 2024
  • iDrive Backups Through QEMU/KVM June 30, 2024
  • VMware Workstation Download Post-Broadcom May 28, 2024
  • What is AvistaZ? May 1, 2024
  • qBittorrent Setup Guide 2024 April 27, 2024
  • VMware Workstation Pro Keys February 22, 2024
  • Meta Quest 3 Shortcuts February 16, 2024
  • Routing HexChat Through Tor February 12, 2024

Articles by Date

  • November 2025 (5)
  • February 2025 (1)
  • December 2024 (1)
  • September 2024 (1)
  • August 2024 (2)
  • July 2024 (3)
  • June 2024 (1)
  • May 2024 (2)
  • April 2024 (1)
  • February 2024 (6)
  • January 2024 (6)
  • December 2023 (1)
  • November 2023 (1)
  • October 2023 (2)
  • September 2023 (5)
  • August 2023 (4)
  • July 2023 (1)
  • May 2023 (1)
  • August 2022 (1)

Recent Comments

    Copyright ©2025 blog.rethy.xyz — A collection of short form technical and non-technical notes.
    Powered by ClassicPress & Britley ClassicPress Theme