With SSH you sometimes need to add new value to the $PATH variable. When your application is not in the directory, which exists in the $PATH array. If you don't want to write down the full path in the command line, for example, '/home/user/myapps/makephoto', you can add '/home/user/myapps/' to $PATH and then you can execute 'makephoto' easier.
(read more...)