The ssh logs from your server should be very helpful in determining why permission is denied.
Also, Try using SFTP client module Net::SFTP::Foreign and check.
In reply to Re: Permission issue with Net::SFTP module
by vinoth.ree
in thread Permission issue with Net::SFTP module
by manorhce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |