我正在尝试编写一个perl脚本,该脚本将包含其他计算机文件的目录复制到当前计算机。
我可以在shell中使用hist(z,col="gray",breaks=50,freq=FALSE)
with(as.list(coef(f1)),
curve(dlnorm(x,meanlog,sdlog),
add=TRUE,col="red",lwd=2))
with(as.list(coef(f2)),
curve(dgamma(x,shape=shape,rate=rate),
add=TRUE,col="blue",lwd=2))
命令,但它需要密码。另外,我的工作区域没有以下模块(不幸的是我无法安装它们):
净:: OpenSSH的
净:: SSH :: Perl的
净:: SCP
Net :: FTP
我确实安装了scp
我的任务是将文件从其他机器复制到当前机器。主要问题是它需要密码才能在shell上使用Net::SSH
。有没有优雅的方法来解决这个问题?