in reply to net::ssh::perl question
my $ssh = Net::SSH::Perl->new($host, port => 22); # ssh
Update: alternatively, teach your system about ssh to avoid this problem in the future (at least on this machine). Edit your %WINDIR%\system32\drivers\etc\services, and add this line, preferably just before the one for telnet to keep things sorted:
ssh 22/tcp #Secure Shell
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: net::ssh::perl question
by Anonymous Monk on Jan 10, 2005 at 13:47 UTC |