Link to home
Start Free TrialLog in
Avatar of HarishMinu
HarishMinu

asked on

connect and read/execute commands on Linux machine through Windows application

Hello experts

How I can able to connect to a Linux machine and read a file contents or data packets and also executing a command from a VC++ application on windows.
Avatar of sarabande
sarabande
Flag of Luxembourg image

you would need to provide a service at the windows system which retrieves the information at the local machine on request from the Linux and sends it back. normally, you would do that by socket communication. the service would run in the background and it requires additional efforts to execute a function of running desktop application. it could be easier to add a thread to the vc application which would communicate with the Linux.

Sara
Avatar of HarishMinu
HarishMinu

ASKER

Its looks complicated, in simple I want to connect to a Linux machine and read a file contents and display in GUI application which is on windows machine
Thanks in advance.
you could add a samba server at the linux and then map a drive from windows which then could accessed locally like any other drive.

Sara
Is there any other solution to read the files on Linux, because installation of samba server cannot be possible.
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial