looking glass

so i went to get a looking glass going, and went to install lg
(http://freshmeat.net/projects/lg/) on freebsd 8.

it is perl insanity. among other cpan sikness, it wants to build an
entire perl implementation of ssh, with 666 other library modules
included when there is a perfectly fine ssh client on the machine.

is there a decent looking glass package that does not fill my machine
with trash?

randy

I've used BGPLG for a few years on OpenBSD. Pretty solid and reliable

Randy Bush <randy@psg.com> writes:

is there a decent looking glass package that does not fill my machine
with trash?

Haven't tried it but what about RANCID?

http://www.shrubbery.net/rancid/man/lg_intro.1.html

Jens

it is called OpenBSD. it will fill your machine with OpenBSD though,
don't know if you can afford it. :slight_smile:

There's a script bundled with rancid. I haven't used it; no doubt it's insane in its own way (what isn't?)

  http://www.shrubbery.net/rancid/man/lg_intro.1.html

Joe

Once upon a time, Randy Bush <randy@psg.com> said:

it is perl insanity. among other cpan sikness, it wants to build an
entire perl implementation of ssh, with 666 other library modules
included when there is a perfectly fine ssh client on the machine.

That would be because the perfectly fine ssh client on the machine does
not have a programmatic interface (OpenSSH has no library version and no
interest in making a library version), so using it has to fall back to a
complicated mess that creates a TTY, creates an SSH process attached to
the TTY, and then do Expect-style "send a string, wait for a string"
(which is a real PITA for error handling).

If you are writing a program to make SSH connections, you are much
better off using a different SSH client that has a library, e.g.
libssh2, perl's Net::SSH::Perl or Net::SSH2 (which is a perl interface
to libssh2), etc.

I used the Multi-Router looking glass and adapted it to my use -->
http://freshmeat.net/projects/mrlg4php/

Not sure, how much you fancy or already have PHP knocking about.

Kind regards,
Martin List-Petersen