cannot ssh and run command line

Matt I don’t need sudo access. I can run on the rita server from the terminal command line.

Any other suggesdtions why i can’t ssh in a script then run the command line?

Again, this works if I am on the command line just not sshing from one server to the rita box