Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
go ahead... be a heretic
 
PerlMonks  

Re: SFTP on Solaris 2.7

by BaldPenguin (Friar)
on Jun 30, 2005 at 19:00 UTC ( [id://471503]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to SFTP on Solaris 2.7

I know that the SSH protocol defaults to 3des for encryption, if you are using blowfish by default, you may have to set that in the ssh_config. Net::SFTP passes that list into the Net::SSH::Perl sub that makes the connection;
# UNTESTED my %args = ( 'user' => $serverId, 'password' => $serverPass, 'ssh_args' => { 'cipher' => 'blowfish, }, ); my $stfp = Net::SFTP->new( $serverName, %args );
Update: ssh_config s/b ssh_args

You could also set the debug values for better messages;
my %args = ( 'user' => $serverId, 'password' => $serverPass, 'debug' => 1, ); my $stfp = Net::SFTP->new( $serverName, %args );

Don
WHITEPAGES.COM | INC
_

Edit by castaway: Closed small tag in signature

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://471503]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.