-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
If you run a terminal block in an SSH context, the commands defined in that terminal block will only execute the first time. The second time it stops at the command prompt
Steps to Reproduce
- create a runbook
- make an SSH block that connects to
host.example.com - below that, make a terminal block that contains a command, for example
ls - run the terminal block, note that it works as expected
- close the terminal block (^D or pressing the red stop button)
- run the terminal block again
Expected Behavior
The command in the block will be executed again
Actual Behavior
The command prompt on the remote host is displayed, but the command is not executed. There is a new entry on the terminal from which atuin-desktop is launched:
[2026-01-28T13:21:23.523591988Z][INFO][atuin_desktop_runtime::pty::pty_store] Killing pty: 5ef47a89-aa54-4907-86c9-84cff6c4bb34
Environment
- OS: Ubuntu 25.10
- Atuin Desktop Version: 0.2.18
- Atuin CLI Version: 18.10.0 (but only installed on localhost, not the remote host)
- Shell: bash
- Terminal: ghostty
Screenshots/Logs
[2026-01-28T13:20:03.386408713Z][INFO][atuin_desktop_runtime::ssh::session] Starting SSH authentication for robin@host.example.com
[2026-01-28T13:20:03.386560681Z][INFO][atuin_desktop_runtime::ssh::session] Starting SSH authentication for robin@host.example.com
[2026-01-28T13:20:03.386636077Z][INFO][atuin_desktop_runtime::ssh::session] Step 1/4: Trying SSH agent authentication
[2026-01-28T13:20:03.386685131Z][INFO][atuin_desktop_runtime::ssh::session] Attempting SSH agent authentication for robin
[2026-01-28T13:20:03.386735611Z][INFO][atuin_desktop_runtime::ssh::session] Using default SSH agent from environment
[2026-01-28T13:20:03.387396631Z][INFO][atuin_desktop_runtime::ssh::session] SSH agent has 4 keys available
[2026-01-28T13:20:03.632344914Z][INFO][atuin_desktop_runtime::ssh::session] β Successfully authenticated with SSH agent key #1
[2026-01-28T13:20:03.632455365Z][INFO][atuin_desktop_runtime::ssh::session] β SSH authentication successful with agent
[2026-01-28T13:20:08.240119694Z][INFO][atuin_desktop_runtime::pty::pty_store] Killing pty: 5ef47a89-aa54-4907-86c9-84cff6c4bb34
[2026-01-28T13:21:23.523591988Z][INFO][atuin_desktop_runtime::pty::pty_store] Killing pty: 5ef47a89-aa54-4907-86c9-84cff6c4bb34
(the killing pty messages seem to appear when a terminal is closed, which makes sense. The second one there was the attempt that just results in being on the command prompt with no execution having happened.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working