[CALUG] Uploading file or sending text to web-server.

Christopher Adams christopher.adams64 at gmail.com
Tue Aug 28 14:34:27 EDT 2012


Public key authentication using scp...
On Aug 28, 2012 2:29 PM, "Rajiv Gunja" <opn.src.rocks at gmail.com> wrote:

> Naw! I am not trying to get syslog. I am trying to get parts of log files
> I write to from another script over to a web-server/DB/dashboard.
>
> It has to be multi-platform, as my script will run on AIX, HP-UX, Linux
> and Solaris.
> So if Perl is the easiest way, then I will write part of my code in Perl.
> On the web-server, I am writing in PHP, so I can talk to the DB.
>
> Thanks, please keep the ideas coming.
>
> -GG
>
> --
> Rajiv G Gunja
> Blog: http://ossrocks.blogspot.com
>
>
> On Tue, Aug 28, 2012 at 12:22 PM, pronto <pronto185 at gmail.com> wrote:
>
>> @Rajiv; so you're looking for a centralized syslog server?
>>
>> though, you an also do crazy things with netcat:
>>
>> on server:
>> $nc -l -p 5432 1> outfile
>>
>> on client:
>> telnet server 5432
>> type things
>>
>> or:
>> cat logfile |telnet server 5432
>>
>>
>> (though you will have to start up the netcat listener each time  )
>> ....i hope i replied correctly...
>> --Justin Brand
>>
>>
>>
>> On Tue, Aug 28, 2012 at 11:24 AM, Rajiv Gunja <opn.src.rocks at gmail.com>
>> wrote:
>> > I want to keep away from using and installing ssh keys. The files I'm
>> > sending are just parts of a log file. There is no need for security as
>> the
>> > servers are all in secure network.
>> >
>> > So, that is why I want to use Perl or Ksh.
>> >
>> > Let me know. Thanks.
>> > -GGR
>> >
>> > On Aug 28, 2012 9:01 AM, "John L. Cunningham" <djohngo at gmail.com>
>> wrote:
>> >>
>> >> On Mon, Aug 27, 2012 at 12:53:52PM -0400, Rajiv Gunja wrote:
>> >> > I have been looking at CURL, perl, PHP, KSH/BASH for sending files
>> to a
>> >> > web-server, from UNIX based OSes, which is the easiest without
>> requiring
>> >> > extra
>> >> > installation? I am guessing PERL as it is available on all our
>> >> > platforms.
>> >> >
>> >> > If PERL, which module do I use? I am not good with PERL, so Please
>> >> > advise.
>> >> > Thanks
>> >>
>> >> Hi Rajiv,
>> >>
>> >> Is ssh an extra install? I usually use scp or sftp for this because
>> >> public key authentication makes easier to automate these kinds of
>> tasks.
>> >> --
>> >> John
>> >>
>> >> _______________________________________________
>> >> CALUG mailing list
>> >> CALUG at unknownlamer.org
>> >> http://lists.unknownlamer.org/listinfo/calug
>> >
>> >
>> > _______________________________________________
>> > CALUG mailing list
>> > CALUG at unknownlamer.org
>> > http://lists.unknownlamer.org/listinfo/calug
>> >
>>
>
>
> _______________________________________________
> CALUG mailing list
> CALUG at unknownlamer.org
> http://lists.unknownlamer.org/listinfo/calug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.unknownlamer.org/pipermail/calug/attachments/20120828/7a9a90ad/attachment.htm 


More information about the CALUG mailing list