Skip to content

Bit-Loop/ssh-multisession-resume

Repository files navigation

Pixel art capybara using a green terminal

SSH Multisession Resume

Server-side SSH auto-resume. Install once, reconnect from anything.

License: MIT AUR Packages

No client script. No iPad setup. Install on the SSH server and connect like normal.

Install

yay -S ssh-multisession-resume-git
# or
paru -S ssh-multisession-resume-git

Source install on Arch, Debian, Ubuntu, Fedora, openSUSE, Alpine, and friends:

git clone https://github.com/Bit-Loop/ssh-multisession-resume.git
cd ssh-multisession-resume
./run.sh

First SSH Login

The first interactive login from each source IP asks:

Mode Behavior
single Always return to one persistent terminal
multi Keep parallel SSH logins separate
skip Leave that source alone

Choices live in ~/.config/ssh-multisession-resume/choices/.

Commands

ssh-multisession-resume status
ssh-multisession-resume doctor
ssh-multisession-resume sessions
ssh-multisession-resume policy show
ssh-multisession-resume policy move OLD_IP NEW_IP
ssh-multisession-resume opt-out

Release Packages

./run.sh package

Attach all built artifacts to the release:

Tested distro Release asset
Arch ssh-multisession-resume-git-<version>-any.pkg.tar.zst
Debian ssh-multisession-resume_<version>_all.deb
Ubuntu ssh-multisession-resume_<version>_all.deb
Fedora ssh-multisession-resume-<version>.noarch.rpm
openSUSE ssh-multisession-resume-<version>.noarch.rpm
yum / Amazon Linux ssh-multisession-resume-<version>.noarch.rpm
Alpine ssh-multisession-resume-<version>.noarch.apk

All artifacts are architecture-independent: any, all, or noarch.

Verify

./run.sh test
./run.sh test:all
./run.sh test:aur

About

SSH Auto-Resume keeps SSH sessions alive across disconnects by automatically attaching matched logins to managed tmux sessions. It supports per-IP multi-session slots, reconnects to existing work with scrollback intact, and ships installer, dependency, service, status, rollback, and smoke-test tools

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors