debug1: Offering RSA public key: /export/home/secbatch/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard +-interactive
That means that the remote server doesn't like that key!
What happens when you run the following command from the command line?
ssh -i /export/home/secbatch/.ssh/id_rsa -o PreferredAuthentications=p +ublickey -v sftp.bloomberg.com
Check your $PATH in order to ensure you run the same ssh binary as the script and also that you are logged as the same user.
In reply to Re^5: Net::SFTP::Foreign key_path
by salva
in thread Net::SFTP::Foreign key_path
by Vita
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |