Ssh: cannot execute binary file

October 16, 2010 at 12:42:00
Specs: Linux i686
I have a c-program and I can execute it normally like this:
. ./fp.out

I can't execute it via ssh. Like this:
ssh 127.0.0.1 'bash /home/viljun/fp/fp.out'
viljun@127.0.0.1's password:
/home/viljun/fp/fp.out: /home/viljun/fp/fp.out: cannot execute binary file

Is there a switch in ssh that allows me to execute binaries or something?

thanks in advance,
ville

---
www.varuste.net


See More: Ssh: cannot execute binary file

Report •

#1
October 17, 2010 at 09:11:37
Tried this?
ssh -t 127.0.0.1 /home/viljun/fp/fp.out

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •

#2
October 17, 2010 at 09:20:16
Yes, now it works! Thank you very much!

Report •

#3
October 17, 2010 at 10:42:08
You are welcome.

The original poster should always write the last response !!!
Let us know, if the problem is solved !!!


Report •
Related Solutions


Ask Question