Skip to content

[Feature Request] custom local shell (CMD + PS prevented from executing by App Control policy) #747

@rogierg

Description

@rogierg

Hi there,

Great tool, I use it to connect to my selfhosted services through SSH. Thanks!

When starting XPipe I get multiple shell self test errors. This happens both for CMD and PS. I can get XPipe to start by trying fallback multiple times but it is annoying.

Stack trace:

java.lang.IllegalStateException: Shell self-test failed for cmd:
Expected output "test", got output "" when running test script

This indicates that something is seriously wrong and certain shell functionality will not work as expected. Some features like the terminal launcher have to create shell scripts for your external terminal emulator to launch.

XPipe will now attempt to fall back to another shell.

at io.xpipe.app.core.check.AppShellChecker.check(AppShellChecker.java:40)
at io.xpipe.app.core.check.AppShellCheck.check(AppShellCheck.java:65)
at io.xpipe.app.core.mode.AppBaseMode.lambda$onSwitchTo$0(AppBaseMode.java:101)
at io.xpipe.app.util.ThreadHelper.lambda$load$0(ThreadHelper.java:78)
at java.lang.Thread.run(Thread.java:1474)

When it has started I can use the connections as normal. (Without using scripting of course) Diving deeper it turns out that both CMD and PS are prevented from executing by App Control policy, which I cannot turn off.

Would it be possible to set a custom local shell, or completely disable local scripting?

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