Do you have a question? Post it now! No Registration Necessary. Now with pictures!
December 22, 2008, 1:14 pm
rate this thread
Re: Shutdown function
I think only if you are using a command line access because the script
will die on the server so there will be no means of accessing that
'with' the script.
You can however use a string "exit("there has been an error");, this is
output by the server and NOT the script
But be careful at what you output, I don't think you can turn off this
output. So whatever you put in as a string will output no matter your
error settings. Someone correct me on this if I am wrong.
You may want to review your code logic and maybe use a different
capture method such as "return 'some_value'";
Just a thought though.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum