in reply to Re: Net::SSH::Perl pty problem with SSH2?
in thread Net::SSH::Perl pty problem with SSH2? SOLVED

What I'm trying to do will work from unix machines with the SSH2 protocol, using the stock ssh command:
$ ssh -2 -t machineB "ssh -2 -t userC@machineC uname -a" usrB@machineB's password: Password: Mon Dec 22 16:34:45 CST 2008 Connection to machineC closed. Connection to machineB closed.
Taking the -t off of machineB's ssh will cause the error to occur.

I would think that we should be able to make Net::SSH::Perl do the same thing, shouldn't we?

-Craig

Replies are listed 'Best First'.
Re^3: Net::SSH::Perl pty problem with SSH2?
by syphilis (Archbishop) on Dec 24, 2008 at 00:22 UTC
    What I'm trying to do will work from unix machines with the SSH2 protocol

    You'll possibly find that you get better mileage (on both Windows and Linux) with Net::SSH2 than you do with Net::SSH::Perl/Net::SSH::W32Perl. Of course, you're then limited to the SSH2 protocol.

    Cheers,
    Rob
Re^3: Net::SSH::Perl pty problem with SSH2?
by Bloodnok (Vicar) on Dec 23, 2008 at 23:10 UTC
    I can't see why not - but that, like most of perl (& indeed CPAN), is down to 'us' to change if we see fit. Let us know how your work progresses cmv - I look forward to seeing the Net:SSH update :-D

    A user level that continues to overstate my experience :-))