Skip to content

Problem when the user shell is not bash #2

Description

@jdv85

Very nice script!

I did have one problem, caused by having zsh as my login shell. When running /etc/network/if-up.d/reverse_ssh_tunnel, it would fail with an error like zsh:1: no matches found: *:14224:localhost:22.

To fix the problem I simply added a -c /bin/sh flag to the su command.

Activity

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

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