Board index » Visual Studio » mfc/c++ -> emulate user using ssh2

mfc/c++ -> emulate user using ssh2

Visual Studio107
I'm having to do things "the hardway" because an organization won't let me run an application on their box, but the organization has no problem giving me ssh access, so...



I need to write an application that will emulate a user that is using ssh to login onto a box and then execute commands as required by the controlling application. I need to be able to keep the connection open between commands.



I really don't know what commands/functions/api I need to use (i.e. where to start), but once you point me in the right direction, I'm good to go.



Thanks,

Rein


-
 

Re:mfc/c++ -> emulate user using ssh2

Rein wrote:

Quote
I'm having to do things "the hardway" because an organization won't let me run an application on their box, but the organization has no problem giving me ssh access, so...



I need to write an application that will emulate a user that is using ssh to login onto a box and then execute commands as required by the controlling application. I need to be able to keep the connection open between commands.



I really don't know what commands/functions/api I need to use (i.e. where to start), but once you point me in the right direction, I'm good to go.



Thanks,

Rein

You might look at using openssh from www.openssh.org and drive your

application through it.



/steveA



--

Steve Alpert

my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org)

and spaces



-