Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Weird error with Cryprt::Blowfish and Crypt::DES

by Anonymous Monk
on Aug 28, 2008 at 19:45 UTC ( [id://707577]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Weird error with Cryprt::Blowfish and Crypt::DES
in thread Weird error with Cryprt::Blowfish and Crypt::DES

Thanks... How to apply the explanation wasn't total clear to me since I was originally try to hack up the DES.pm to find where the data was being passed incorrectly before I found this thread. Attached is a clear example:
use utf8; my $username = $connection->{'username'}; my $password = $connection->{'password'}; my $ip = $connection->{'ip'}; chomp( $username , $password , $ip ); utf8::downgrade($username); utf8::downgrade($password); my $ssh = Net::SSH::Perl->new($ip , port => 'ssh' ); $ssh->login($username, $password); my($out, $err) = $ssh->cmd($cmd || "ls -l"); print $out;

Log In?
Username:
Password:

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

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

    No recent polls found