Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Net:::OpenSSH Prompt Access

by salva (Abbot)
on Sep 12, 2013 at 20:47 UTC ( #1053796=note: print w/replies, xml ) Need Help??


in reply to Net:::OpenSSH Prompt Access

There is no such thing as the current prompt.

You get a prompt when you run an interactive shell but Net::OpenSSH doesn't talk to a remote shell. It directly executes the commands given. The SSH protocol allows to do that.

Replies are listed 'Best First'.
Re^2: Net:::OpenSSH Prompt Access
by kburns1969 (Novice) on Sep 12, 2013 at 21:21 UTC
    I had a feeling it operated a bit differently. And about 1000x faster than other Perl SSH mods. Thanks !!
      Net::OpenSSH is as fast as a SSH client can be and the same can be said for most other SSH modules, i.e. Net::SSH::Perl (as far as Math::Pari installed), Net::SSH2, etc. The only one that's quite slower is Net::SSH because it establishes a new SSH connection every time it executes a remote command.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053796]
help
Chatterbox?
[Eily]: LanX bless you!
[LanX]: why?
[Eily]: TSJAKKAA looks like a sneeze to me
[LanX]: oh thank you! :)
[Eily]: partly because I read tsj as /t͡ʃ/, don't know if that's supposed to be the case
[LanX]: Yeah I think thats Dutch spelling rule

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2017-04-24 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.