Skip to content

cmd/run: Add flag --no-tty/-T to run command. - #587

Open
likan999 wants to merge 1 commit into
containers:mainfrom
likan999:patch-5
Open

likan999 wants to merge 1 commit into
containers:mainfrom
likan999:patch-5

Conversation

@likan999

@likan999 likan999 commented Oct 20, 2020 •

Copy link
Copy Markdown
Contributor

VSCode remote SSH extension needs to run commands inside toolbox without a TTY, otherwise it fails. With this patch, vscode can connect to toolbox in a remote host if you put RemoteCommand toolbox run -T bash in ssh config; it should work as well if using authorized_keys instead. The naming of -T option is borrowed from ssh -T.

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@likan999 likan999 changed the title Add flag --notty to run command. cmd/run: Add flag --no-tty/-T to run command. Oct 29, 2020
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Oct 30, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
@debarshiray debarshiray mentioned this pull request Oct 30, 2020
likan999 added a commit to likan999/ppa-toolbox that referenced this pull request Nov 4, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
changwuf31 pushed a commit to changwuf31/toolbox that referenced this pull request Dec 29, 2020
Summary:
VSCode remote SSH extension needs to run commands inside toolbox without
a TTY, otherwise it fails. With this patch, vscode can connect to
toolbox in a remote host if you put `RemoteCommand toolbox run -T bash`
in ssh config; it should work as well if using `authorized_keys`
instead. The naming of `-T` option is borrowed from `ssh -T`.

containers#587
@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed.

@martymichal martymichal added 2. CLI Issue is related to the command line interface 2. Host Realm The issue is related to what happens on the host machine where Toolbox is executed 3. New Feature New feature 6. Minor Change Should not cause breakage labels Feb 26, 2021
@martymichal martymichal added the 6. Requires Toolbx Recreation This will take effect in new Toolbox containers and not in existing ones label Feb 26, 2021
@martymichal martymichal added this to the Release 0.2.0 milestone Feb 26, 2021
@martymichal martymichal removed the 6. Requires Toolbx Recreation This will take effect in new Toolbox containers and not in existing ones label Mar 10, 2021
Base automatically changed from master to main March 25, 2021 22:25

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. CLI Issue is related to the command line interface 2. Host Realm The issue is related to what happens on the host machine where Toolbox is executed 3. New Feature New feature 6. Minor Change Should not cause breakage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants