Skip to content

Conversation

@willnx
Copy link
Owner

@willnx willnx commented Oct 15, 2019

This PR fixes an oddity that exists when you supply a command (or scp) when using ContainerShell from a remote system.

For instance, with normal SSH access, something like this:

ssh bob@some.server.org "pwd"

would output this:

/home/bob

With ContainerShell, users would get this output instead:

/

The simple fix is to just try and cd into their home dir before executing any supplied commands.

@willnx willnx merged commit c084f10 into master Oct 15, 2019
@willnx willnx deleted the bug_default_dir branch October 15, 2019 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants