Problems? Is your data what you think it is? | |
PerlMonks |
Re: Net::SSH::Perl and SSH protocolsby radiantmatrix (Parson) |
on Mar 24, 2008 at 14:56 UTC ( [id://675910]=note: print w/replies, xml ) | Need Help?? |
If you just need to connect and run a script, consider using the command-line SSH via the Expect module. I've found that quite helpful. Something like:
I've used this approach to do remote password-resets, user deletes, software installation, &c. It's a bit more code, but you get a lot more control.
<–radiant.matrix–>
Ramblings and references The Code that can be seen is not the true Code I haven't found a problem yet that can't be solved by a well-placed trebuchet
In Section
Seekers of Perl Wisdom
|
|