[Ssh-sftp-perl-users] Change port used in Net::SFTP
Brought to you by:
dbrobins
From: Vitali C. <CV...@me...> - 2004-04-02 09:28:08
|
Hi to all, I need to get a file on a server that use a non-standard port for ssh daemon, 222, but I don't find a way to specify it on create of connection my $sftp =3D Net::SFTP->new($host, $user, $passw) or die "Cannot connect to host : $host \n" ; There is a way to specify it in the module Net::SFTP, like in Net::SSH::W32Perl my $ssh =3D new Net::SSH::W32Perl($host, port =3D> 22, debug =3D> 1, = protocol =3D> 2) Many thanks for your time Best regards Cesare ------------------------ Cesare Vitali ------------------------ Met Sogeda S.p.A. ------------------------ mailto:cv...@so... Sistemista Microsoft=20 HP Certified Engineer ------------------------=20 |