Re: Controlling ssh from an external program

From: Jerry (juanino_at_yahoo.com)
Date: 10/21/04

  • Next message: Derek Martin: "Re: Logging attempted passwords"
    Date: Thu, 21 Oct 2004 13:10:35 -0700 (PDT)
    To: jander@hundredacrewood.org, secureshell@securityfocus.com
    
    

    Oh yes, use perl and Net::SSH::Perl from CPAN.

    It's a pain to build--> many, many requirements, but
    it works very nice for this type of thing. It's a
    complete ssh implementation, you don't even need
    openssh to install it I believe. It can do things
    like go interactive, pass username/password, return
    good return codes, stderr, stdout, etc.

    Contact me off-list if you need help building it.
    It's easier to build on linux than Solaris. But I've
    used it on both.

    Jerry
    QX19

    --- Jeff Anderson <jander@hundredacrewood.org> wrote:

    > Hi -
    >
    > I am working on a linux remote administration tool,
    > and I would like to be
    > able to control ssh/scp via an external program. I
    > know the standard answer
    > to this is to use expect, however this is NOT an
    > option.
    >
    > The next standard answer is to use an empty
    > passphrase or ssh-agent, but I
    > cannot guarantee that the remote system will have a
    > keypair, so I need to be
    > able to fallback on password authentication if that
    > fails. The controlling
    > program needs to be able to feed the password to
    > ssh/scp.
    >
    >
    > Additionally, I can only use an unmodified version
    > of openssh (i.e. whatever
    > version is available on the system that the admin
    > tool is run from).
    >
    > Any ideas?????
    >
    >
    >
    ==========================================================
    > Jeff Anderson
    >
    >

    __________________________________________________
    Do You Yahoo!?
    Tired of spam? Yahoo! Mail has the best spam protection around
    http://mail.yahoo.com


  • Next message: Derek Martin: "Re: Logging attempted passwords"

    Relevant Pages

    • Re: What will you be hunting with this Fall?
      ... > a rear sight and a slightly prouder front sight than ... > add a forward sling loop and a sling button toward the ... > Do You Yahoo!? ... Mail has the best spam protection around ...
      (rec.hunting)
    • RE: FreeBSD on Dell PE850
      ... When I install using the 6.1 disk one I get the error "Add of package ... Do You Yahoo!? ... Mail has the best spam protection around ... MailScanner thanks transtec Computers for their support. ...
      (freebsd-questions)
    • Re: [kde-linux] Cant login via kde - hangs when "initializing peripherals"
      ... failsafe term then startkde - no problems ... I can login in under gnome - no problem. ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (KDE)
    • Re: fstab and LABEL=
      ... Plus I agree with Tim that it would be better if we could be left in ... new package is installed, either on it's own or at the whim of a package ... Do You Yahoo!? ... Mail has the best spam protection around ...
      (Fedora)
    • Re: Problem with kdvi font rendering after sarge-->etch upgrade
      ... I have no trouble opening these doucments on my ... Do You Yahoo!? ... Mail has the best spam protection around ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)