Connecting to sFTP host


I am facing the below issue while connecting to sFTP server from wM using the service pub.openssh:sftp.

Connecting to targethost…
Permission denied (password,publickey).
Couldn’t read packet: Connection reset by peer

I have replaced the actual hostname with targethost in the above error message.

But when I do the SFTP from unix box, my host is able to connect to target host.
Please help me to resolve the issue from wM.

Thanks in advance

What version of IS are you using?