[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec command trough ssh tunnel
[Thread Prev] | [Thread Next]
- Subject: Re: exec command trough ssh tunnel
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 20 Apr 2015 20:32:59 +0200
- To: libssh@xxxxxxxxxx
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 Tutorial. The description how to do it is here: https://www.libssh.org/archive/libssh/2015-04/0000010.html It would be great if someone could extend the tutorial section with a socketpair(2) example. -- andreas http://man.cx/socketpair -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: exec command trough ssh tunnel | Raghaw Shukla <raghaw.wesee@xxxxxxxxx> |
[no subject] | Raghaw Shukla <raghaw.wesee@xxxxxxxxx> |