Skip to content

ssh <hostname> as cmd is not working with Nightly #2650

Description

@BaccanoMob

Description

I wanted to check out the interactive TUI feature and so I installed the nightly version task_3.47.0-nightly_linux_amd64.deb. While the TUI works really well, below task fails to execute.

remote is a hostname specified in ~/.ssh/config. Just ssh remote in cmd also does not work. The task worked fine with 3.46.4 and after downgrading as well.

^Ctask: Signal received: "interrupt"
^Ctask: Signal received: "interrupt"
^Ctask: Signal received for the third time: "interrupt". Forcing shutdown
tcsetattr: Input/output error

Had to press Ctrl C three times to exit.

Manually executing the cmd in terminal works so task is unable to execute as a cmd for some reason.

Version

3.47.0-nightly

Operating system

Linux Mint

Experiments Enabled

No response

Example Taskfile

tasks:
  ssh-remote:
    desc: SSH to remote
    cmds:
      - ssh remote -t "cd ~/Downloads; exec $SHELL -l"

Metadata

Metadata

Assignees

No one assigned

    Labels

    dep: mvdan/shIssues related to the upstream interpreter used by Task.

    Type

    No fields configured for bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions