Jump to content

Running a script via ssh


Recommended Posts

Hi all,

I'm trying to set some things up so I can remote control them from my phone via ssh. I have a bunch of scripts that run successfully when ran locally with a cygwin bash shell but not when logged in via ssh. I guess this is some kind of security/user problem.

As a simple example I can compile a one line script containing only - beep()

If in a cygwin bash shell I run - ./beep.exe it executes and I hear the beep. If I log in (to the same user account) via ssh and execute the same command it appears to execute but no beep is heard.

Any ideas as to how I could work around this problem to make this script work when executed via ssh?

I'm open to any suggestions.

Link to comment
Share on other sites

  • 1 year later...
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...