Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Net::SSH::Perl pty problem with SSH2?

by Crackers2 (Parson)
on Dec 22, 2008 at 22:13 UTC ( [id://732200]=note: print w/replies, xml ) Need Help??


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

Did you try adding another -t to the ssh command? The ssh manpage says "Multiple -t options force tty allocation, even if ssh has no local tty."
  • Comment on Re: Net::SSH::Perl pty problem with SSH2?

Replies are listed 'Best First'.
Re^2: Net::SSH::Perl pty problem with SSH2?
by cmv (Chaplain) on Dec 22, 2008 at 22:29 UTC
    Crackers2++ Good suggestion!

    When I try it, I don't get the error message, but I also don't get STDIN and STDOUT connected to the Net::SSH::Perl connection either (if I substitute the "passwd" command in there, it just exits with an error return code). I have working SSH keys setup between B and C so I know it's not an authentication problem.

    To do the interactive stuff, I need to be able to read/write from machine A to the command on machine C.

    Thanks

    -Craig

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-19 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found