in reply to scp & port

And another reason to prefer Net::SSH2 ...

#!/usr/bin/perl use strict; use warnings; use Net::SSH2; my $ssh2 = Net::SSH2->new(); $ssh2->connect( 'webdev', 3479 ) or die; ...

-derby

Replies are listed 'Best First'.
Re^2: scp & port
by dwm042 (Priest) on Jun 02, 2008 at 14:36 UTC
    Net::SSH2 is hardly the answer to everything. Libssh2 needs to compile reliably across most platforms before it will become very usable.

    I'm convinced the libssh2 developers just *hate* Solaris.