Thanks.
I found out the machines I have the problem with have OS X 10.4.1
installed.
10.3.8 doesn't have the problem.
I generated a public key and copied it to a target machine. Then it is
ok.
Not a good solution to me. But I can deal with it.
I have looked at ssh_config and sshd_config and still could not figure
out why these two
OS behave differently.
SSH has been a big pain. I wish it has a switch that would turn it into
telnet.
I don't care about security in our situation.
ted
On Jun 2, 2005, at 4:42 PM, Sherm Pendley wrote:
On Jun 2, 2005, at 2:20 PM, Ted Zeng wrote:
Anyone has seen this problem before? I searched the net and found a
couple of people
had this problem. But there were no answers to their questions.
Here is the script that I used:
$user='name';
$pass = 'password';
$host = '111.22.33.444';
$params{debug} = 1;
$params{interactive} = 0;
my $ssh = Net::SSH::Perl->new($host,%params,options =>["BatchMode
yes"]);
Googling for 'No compat match:' turned up some likely-looking
candidates, including this one:
<http://forums.devshed.com/t191670/s.html>
Based on that page, you might try using the 'protocol' option for
force Net::SSH::Perl to try an SSH2 connection first:
$params{protocol} = '2,1';
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org