Posts

openssh - execute cross-compiled binary on remote PC

Image
up vote 0 down vote favorite I'm cross-compiling a C++ application and have written a one-liner that copies the file to the target PC after compilation. Now I would like to execute the binary using the remote PC resources. The problem is that the binary executes using local PC resources. No output is required to be sent back to compilation PC. I imagine the solution could be very simple but I can't see how to do it without using a complex tool such as vnc. Please can you suggest how I might go about accomplishing this as a one-liner? sshpass -p "myPassword" scp /path/to/compiled/binary/on/host user@remotePC:/path/to/compiled/binary/on/target && sshpass -p "myPassword" ssh user@remotePC "path/to/compiled/binary/on/target" remote-access ...

How to make ubuntu gateway?

Image
up vote 0 down vote favorite 1 i am new on Ubuntu. i want to make a gateway. i have some 25 systems and switch but i don't have any server. i want to setup a system as a gateway system and want to make a firewall. i want that every user whenever access Internet it should be through firewall and want to assign separate speed to every user of accessing Internet. please somebody tell me how can i make this proper way? 12.04 networking firewall share | improve this question asked Jul 31 '13 at 6:10 Rahul 6 1 1 ...