|
Perplexing problem
I am trying to execute a command using ssh to the remote host.
$ ssh host2625.phar.com ant
bash: ant: command not found
(but then when do)
$ ssh host2625.phar.com
(and then hit "ant" (below) it finds the command. So it means it's in the path but for some reason it's not working)
[priv_user@host2625 ~]$ ant
Buildfile: build.xml does not exist!
Build failed
I have looked in .bash_profile and the path is set and I don't understand why I can't execute that command using ssh but when I login using ssh and then execute the command it works.
|