theniteowl
Programmer
Hi All,
I am using Putty to SSH into our server and issue some application commands. This works fine when doing it directly.
I am trying to automate the process by executing Putty from the command line and specifying a command file to use.
This is not working.
When I manually connect to the server using the Putty GUI everything works. When I connect via command line it seems like different security is applied against the logon ID. The prompt is different and the application folders appear not to be within the path because the application commands fail while commands like ls work normally.
I am using the same login credentials as I do from the GUI.
Any ideas?
I am trying to automate a cleanup process that will involve a number of commands be executed one after another. Executing the command "opscmd" fails unless I specify the full path to the file but then it fails because it relies on other application files from other folders being somewhere in the path.
For some reason connecting by executing Putty from the command line seems to apply different restrictions on the logon ID.
At my age I still learn something new every day, but I forget two others.
I am using Putty to SSH into our server and issue some application commands. This works fine when doing it directly.
I am trying to automate the process by executing Putty from the command line and specifying a command file to use.
This is not working.
When I manually connect to the server using the Putty GUI everything works. When I connect via command line it seems like different security is applied against the logon ID. The prompt is different and the application folders appear not to be within the path because the application commands fail while commands like ls work normally.
I am using the same login credentials as I do from the GUI.
Any ideas?
I am trying to automate a cleanup process that will involve a number of commands be executed one after another. Executing the command "opscmd" fails unless I specify the full path to the file but then it fails because it relies on other application files from other folders being somewhere in the path.
For some reason connecting by executing Putty from the command line seems to apply different restrictions on the logon ID.
At my age I still learn something new every day, but I forget two others.