That was it ... the names ... DUH! I was not providing the username
Changed
$sftp = Net::SFTP::Foreign->new( $remnode,key_path => '/export/home/secbatch/.ssh/id_rsa', more => '-v', );To
%args = ( "user" => $remuser, key_path => '/export/home/secbatch/.ssh/ +id_rsa' ); $sftp = Net::SFTP::Foreign->new( $remnode,%args, more => '-v', );
Thank you so much. Enjoy your weekend.
In reply to Re^8: Net::SFTP::Foreign key_path
by Vita
in thread Net::SFTP::Foreign key_path
by Vita
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |