in reply to Re: net::ssh::perl permission problemin thread net::ssh::perl permission problem
use Env; and set the HOME directory to /tmp in the script solves the problem.