Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when the user shell is not bash #2

Open
jdv85 opened this issue May 16, 2012 · 1 comment
Open

Problem when the user shell is not bash #2

jdv85 opened this issue May 16, 2012 · 1 comment

Comments

@jdv85
Copy link

jdv85 commented May 16, 2012

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.

@mikeymckay
Copy link
Owner

Cool - glad it's helping. Fork me and pull request!

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

No branches or pull requests

2 participants