As you can probably guess from my comment, I don't believe your setup to be entirely a great idea from a security perspective. So here are some suggestions for what you want to accomplish: If you MUST use ssh for your remote server commands, please ensure that you're only accepting connections on an internal IP, and that you don't allow root ssh logins Consider setting up a Web service on your remote server instead. It would give you greater flexibility when integrating with a front-end Web application running on a different system.
Look at SOAP REST XML-RPC and Protocol Buffers as possible frameworks for this Don't read a list of possible system shell commands and automatically run them from a database. Use a crontab for this HTH aj.
As you can probably guess from my comment, I don't believe your setup to be entirely a great idea from a security perspective. So here are some suggestions for what you want to accomplish: If you MUST use ssh for your remote server commands, please ensure that you're only accepting connections on an internal IP, and that you don't allow root ssh logins. Consider setting up a Web service on your remote server instead.It would give you greater flexibility when integrating with a front-end Web application running on a different system.
Look at SOAP, REST, XML-RPC, and Protocol Buffers as possible frameworks for this. Don't read a list of possible system shell commands and automatically run them from a database. Use a crontab for this.
HTH, -aj.
To automate scripts over SSH you can use pass-phrase-less keys. Understanding that this is weakening the security so you have to be extra careful about your keys, for example: Put the acceptable commands in the authorized_keys file Change keys frequently As for the web access, I think you are on the right lines in terms of putting some mechanism between your web interface and the actual execution.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.