On 29/03/2005, Lohit wrote: > i have installed openssh for windows and am able to connect using ssh > client. Now, while trying out Net::SSH::Perl module i get an error at > > my $sshh= Net::SSH::Perl->new($host); > > Can't map service name 'ssh' to port number. >
What happens if you specify the port in your constructor directly: my $sshh = Net::SSH::Perl->new($host, port => 22); -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>