0
嗨誰能告訴我這是什麼錯誤我從SSH命令得到當我在Perl的code.I使用它具有遠程機器和本地機器上的權限SSH錯誤
Code
$site = "/tmp/write.lock";
my $ssh = Net::SSH::Perl->new($hostname, protocol => '1,2', debug => 1, interactive => 1);
$ssh_release->login($username, $password);
($stdout,$stderr,$exit) = $ssh_release->cmd("$site");
if(defined $stdout)
{
//Do something
}
Output
Localhost> ./sh.pl
The authenticity of host 'iind-login.iind.intel.com' can't be established.
Key fingerprint is 3e:88:aa:70:cb:e5:4a:d7:a4:f5:8b:8b:d5:b3:2c:6e.
Are you sure you want to continue connecting (yes/no)? [yes] yes
mkdir /nfs/site/home/msveetil/.ssh: Permission denied at /usr/intel/pkgs/perl/5.8.5/lib/site_perl/5.8.5/Net/SSH/Perl/Util/Hosts.pm line 5
請問您可以把文件夾/ nfs/site/home/msveetil和/nfs/site/home/msveetil/.ssh的ls -l輸出放在哪裏? – 2014-10-08 09:44:11