Skip to content

Way to close reverse ssh tunnel from server it's connected to #22

@bobbaker6667

Description

@bobbaker6667

It would be awesome if their was a command that I could use once done with the reverse tunnel to close/exit the remote process running the tunnel; so when I'm done with the tunnel I could exit/stop the tunnel from the server that its connected too, so that i could use the same port for multiple sessions if that makes sense. At the moment to disconnect/exit the connected remote process I'm having to restart the ssh server, which means i lose any other connected clients to the server, is their any way that you could implement some sort of exit command or make an argument so that once the first sh/bash session has exited that it closes the reverse tunnel and exits? Like a one-shot mode or something like that, Hoping the feature request makes sense

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