Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't map service name 1

Status
Not open for further replies.

nawlej

Programmer
Mar 26, 2004
380
US
Im writing a script using Net::SSH::perl, and I am getting the error:

Can't map service name 'ssh' to port number at ./test.pl at line 48


Does anyone have an idea why this could be happening? I am just setting my connection up like so:

my $sshcnx = Net::SSH::perl->new($systemname);

I hope someone has a clue.......
 
I fixed it. Im not sure what did it, but I specified port 22 as default, and also, SSH2 as the only protocol to use.
 
Did this sort out the exchange issue as well
--Paul
 
ignore - wrong thread
--Paul

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top