Skip to content

A command to kill ssh tunnel is not working. #10

@omidamraei

Description

@omidamraei

I have no idea why this not working.

[
    {
        "title": "Disconnect",
        "command": "ps -lef | grep ssh | grep 1337 | awk '{print $4}' | xargs kill",
        "icon": "network-error"
    }
]
`

Running the command in the terminal just works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions