Skip to content

Question - how to leave the connection open without a tty #171

Closed
@chazsconi

Description

@chazsconi

I'm trying to create a installable binary that supports the -T option (no tty) so I can use it to connect to with VSCode's remote option.

VSCode fails to connect with a Failed to parse remote port from server output error - I'm not certain, but I expect this is because it sends the -T option, but then the ssh server immediately closes the connection because there is no command or tty.

What code do I need to leave the connection open without having a tty?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions