in reply to 'tcgetattr: No such device or address' on SSH using Expect.pm
It makes for pretty easy communication with the remote server, with several functions to send and receive data. You can receive for X seconds, read one line at a time, etc.my $ssh = Net::SSH::Expect->new ( host => "$serverlist[$host]", user => "$user", raw_pty => 1, restart_timeout_upon_receive => 1, timeout => 6, ssh_option => " -x", );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 'tcgetattr: No such device or address' on SSH using Expect.pm
by Anonymous Monk on Jun 03, 2010 at 04:58 UTC | |
by Anonymous Monk on Jun 03, 2010 at 06:34 UTC | |
by sierpinski (Chaplain) on Jun 03, 2010 at 15:16 UTC |