Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: System call to ssh stalling.

by Khen1950fx (Canon)
on Jan 15, 2012 at 14:53 UTC ( [id://947996]=note: print w/replies, xml ) Need Help??


in reply to System call to ssh stalling.

This worked for me.
#!/usr/bin/perl use strict; use warnings; while (1) { print "enter cmd: "; unless (my $c = <STDIN>) { last; } else { system( "ssh 127.0.0.1 $c" ); last; } }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found