ssh api

Markus Friedl markus at openbsd.org
Wed Dec 12 20:40:17 EST 2001


On Wed, Dec 12, 2001 at 10:20:20AM +0100, Wilfrid Billot wrote:
> I'm currently upgrading a tool which is a parallelized rsh for a cluster
> and want to include ssh connection in it. But the ssh code is huge and,
> as I don't want to loose too much time reading ssh code, I'd like to
> know if there is in ssh a C-function like rcmd, that opens a ssh
> connection and give in return a socket descriptor.

try to check what sftp does. or scp. they just run the ssh binary
to create a secure connection.

other than that, there is no rcmd-like API.

-m



More information about the openssh-unix-dev mailing list