PHIPS BLOG

  •  Home
  •  Get To Know Me

SSH

Programming & DevOps

Programmatically Start Long-Running Command via SSH in Background and Disconnect (and get the PID)

UPDATE: Turns out, I googled the wrong thing/keywords. There is a helpful answer on StackOverflow. It was surprisingly difficult to programmatically start a long-running command via SSH in background and disconnect the SSH session immediately. So, in case you need help, here’s how I did it. The final solution is Read more…

By Philipp Schuster, 1 month2025-03-26 ago
Programming & DevOps

Remotely deploying NixOS configuration using SSH Jump Host

nixos-rebuild –target-host <user@host> is a powerful tool to remotely deploy a NixOS configuration. However, there are scenarios where you can’t reach a machine directly but need an SSH jump host. Suppose you want to deploy to the host 192.168.124.42, which is only reachable from the host ssh-gate. Then your nixos-rebuild Read more…

By Philipp Schuster, 4 months2025-01-08 ago

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle