[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exec command trough ssh tunnel

On Monday 20 April 2015 17:00:29 Raghaw Shukla wrote:
> I using libssh to write command to remote PC.So its like (MY PC->Linux
> MAchine->Remote PC).iam able to to do port forwarding but when i try to
> exeute command let say ls -l its just wait .

The way you implement it doesn't work at all. I've described how to do it some 
days ago. Also read the RFC and the chapter about port forwarding in our 

The description how to do it is here:


It would be great if someone could extend the tutorial section with a 
socketpair(2) example.

	-- andreas


Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Re: exec command trough ssh tunnelRaghaw Shukla <raghaw.wesee@xxxxxxxxx>
[no subject]Raghaw Shukla <raghaw.wesee@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org