-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On October 10, william@25thandClement.com said:

> On Tue, Oct 10, 2006 at 03:44:27PM -0700, behnam rashidian wrote:
> > Sorry to interrupt, just a quick question...
> >
> > I need to find out if openssh has any functions that would read
> > some memory chuck and transfer that chunk over SSH ( what I mean
> > here is SFTP), except that I don't want it to open a file and read
> > it and transfer it since there will not be enough storage space to
> > store files. Therefore I need to have some functions that would
> > stream the data as they arrive on the fly. Please let me know if
> > such function exists in this package.
> >

>
> Why must you use SFTP, which is a "file transfer protocol"?
>
> What you want is trivial with straight SSH:
>
> ssh foo@host cat /some/file | process_file
>
> or
> cat /some/file | ssh foo@host process_file


Alternately, if your data is already coming in via TCP/IP, you could
look at the LocalForward (-L) and RemoteForward (-R) options for
openssh. man ssh_config or man ssh and grep for those options for
more details.

--dkg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+

iD8DBQFFLFUPiXTlFKVLY2URAkhFAKC5UCaavaZ4DIy6fiqeva zmbctklQCeLhNw
b4nxfk+FhiF5/izRNO3eBiE=
=7ouR
-----END PGP SIGNATURE-----
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev